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_initscripts.yml ***************************************** 2 plays in /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 08 February 2025 07:51:11 -0500 (0:00:00.019) 0:00:00.019 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 08 February 2025 07:51:12 -0500 (0:00:00.957) 0:00:00.977 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 08 February 2025 07:51:12 -0500 (0:00:00.040) 0:00:01.018 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 08 February 2025 07:51:13 -0500 (0:00:00.492) 0:00:01.511 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 08 February 2025 07:51:13 -0500 (0:00:00.481) 0:00:01.992 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 08 February 2025 07:51:13 -0500 (0:00:00.081) 0:00:02.074 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 08 February 2025 07:51:13 -0500 (0:00:00.037) 0:00:02.111 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 08 February 2025 07:51:13 -0500 (0:00:00.063) 0:00:02.175 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 08 February 2025 07:51:14 -0500 (0:00:00.515) 0:00:02.691 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 08 February 2025 07:51:14 -0500 (0:00:00.025) 0:00:02.717 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 08 February 2025 07:51:14 -0500 (0:00:00.019) 0:00:02.736 ***** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.232086", "end": "2025-02-08 07:51:14.844705", "rc": 0, "start": "2025-02-08 07:51:14.612619" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 08 February 2025 07:51:14 -0500 (0:00:00.583) 0:00:03.319 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 08 February 2025 07:51:14 -0500 (0:00:00.017) 0:00:03.337 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 08 February 2025 07:51:14 -0500 (0:00:00.018) 0:00:03.355 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 08 February 2025 07:51:15 -0500 (0:00:00.659) 0:00:04.015 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 08 February 2025 07:51:15 -0500 (0:00:00.021) 0:00:04.036 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:51:15 -0500 (0:00:00.034) 0:00:04.070 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:51:15 -0500 (0:00:00.029) 0:00:04.100 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:51:15 -0500 (0:00:00.100) 0:00:04.200 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:51:15 -0500 (0:00:00.067) 0:00:04.267 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:51:15 -0500 (0:00:00.037) 0:00:04.305 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002924", "end": "2025-02-08 07:51:16.304885", "rc": 0, "start": "2025-02-08 07:51:16.301961" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:51:16 -0500 (0:00:00.479) 0:00:04.785 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:51:16 -0500 (0:00:00.023) 0:00:04.808 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:51:16 -0500 (0:00:00.040) 0:00:04.848 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 08 February 2025 07:51:16 -0500 (0:00:00.053) 0:00:04.901 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007398", "end": "2025-02-08 07:51:16.777556", "rc": 1, "start": "2025-02-08 07:51:16.770158" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 08 February 2025 07:51:16 -0500 (0:00:00.368) 0:00:05.270 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:51:16 -0500 (0:00:00.039) 0:00:05.309 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.380) 0:00:05.690 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.023) 0:00:05.713 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.041) 0:00:05.754 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.154) 0:00:05.909 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.059) 0:00:05.969 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.034) 0:00:06.003 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.031) 0:00:06.035 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:51:17 -0500 (0:00:00.028) 0:00:06.063 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:51:19 -0500 (0:00:01.783) 0:00:07.846 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:51:21 -0500 (0:00:01.737) 0:00:09.583 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.081) 0:00:09.665 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.060) 0:00:09.726 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.060) 0:00:09.787 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.065) 0:00:09.853 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.068) 0:00:09.921 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.053) 0:00:09.975 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.053) 0:00:10.029 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.077) 0:00:10.107 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.069) 0:00:10.176 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.056) 0:00:10.233 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.082) 0:00:10.316 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:51:21 -0500 (0:00:00.081) 0:00:10.398 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:51:22 -0500 (0:00:00.061) 0:00:10.459 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:51:23 -0500 (0:00:01.006) 0:00:11.466 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmp_ii9lwco" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:51:23 -0500 (0:00:00.473) 0:00:11.940 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:51:24 -0500 (0:00:00.903) 0:00:12.843 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:51:24 -0500 (0:00:00.042) 0:00:12.886 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:51:24 -0500 (0:00:00.053) 0:00:12.940 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:51:24 -0500 (0:00:00.059) 0:00:12.999 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:51:24 -0500 (0:00:00.058) 0:00:13.057 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:51:25 -0500 (0:00:00.540) 0:00:13.598 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:51:25 -0500 (0:00:00.070) 0:00:13.669 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 08 February 2025 07:51:25 -0500 (0:00:00.167) 0:00:13.836 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:51:25 -0500 (0:00:00.156) 0:00:13.992 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:51:25 -0500 (0:00:00.109) 0:00:14.102 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1739019084.338793, "block_size": 4096, "blocks": 8, "ctime": 1739019084.338793, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1739019084.338793, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:51:26 -0500 (0:00:00.477) 0:00:14.580 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:51:26 -0500 (0:00:00.040) 0:00:14.620 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018323", "end": "2025-02-08 07:51:26.513358", "rc": 1, "start": "2025-02-08 07:51:26.495035" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:51:26 -0500 (0:00:00.382) 0:00:15.003 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:51:26 -0500 (0:00:00.038) 0:00:15.041 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003230", "end": "2025-02-08 07:51:26.922537", "rc": 0, "start": "2025-02-08 07:51:26.919307" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:51:26 -0500 (0:00:00.373) 0:00:15.414 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.076) 0:00:15.491 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002685", "end": "2025-02-08 07:51:27.374051", "rc": 0, "start": "2025-02-08 07:51:27.371366" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.396) 0:00:15.888 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.067) 0:00:15.956 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.066) 0:00:16.023 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.047) 0:00:16.070 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.041) 0:00:16.111 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.044) 0:00:16.156 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.039) 0:00:16.196 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:51:27 -0500 (0:00:00.082) 0:00:16.278 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035455", "end": "2025-02-08 07:51:28.184624", "rc": 1, "start": "2025-02-08 07:51:28.149169" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 08 February 2025 07:51:28 -0500 (0:00:00.397) 0:00:16.675 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:51:28 -0500 (0:00:00.062) 0:00:16.738 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:51:28 -0500 (0:00:00.038) 0:00:16.777 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:51:28 -0500 (0:00:00.114) 0:00:16.891 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:51:28 -0500 (0:00:00.060) 0:00:16.952 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:51:28 -0500 (0:00:00.058) 0:00:17.011 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003100", "end": "2025-02-08 07:51:28.895730", "rc": 0, "start": "2025-02-08 07:51:28.892630" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:51:29 -0500 (0:00:00.424) 0:00:17.435 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:51:29 -0500 (0:00:00.160) 0:00:17.596 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:51:29 -0500 (0:00:00.091) 0:00:17.687 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 08 February 2025 07:51:29 -0500 (0:00:00.179) 0:00:17.866 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005308", "end": "2025-02-08 07:51:29.978440", "rc": 1, "start": "2025-02-08 07:51:29.973132" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 08 February 2025 07:51:30 -0500 (0:00:00.631) 0:00:18.498 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:51:30 -0500 (0:00:00.095) 0:00:18.593 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 08 February 2025 07:51:30 -0500 (0:00:00.476) 0:00:19.070 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:51:30 -0500 (0:00:00.112) 0:00:19.183 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 08 February 2025 07:51:30 -0500 (0:00:00.108) 0:00:19.291 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:51:31 -0500 (0:00:00.133) 0:00:19.425 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:51:31 -0500 (0:00:00.113) 0:00:19.539 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:51:31 -0500 (0:00:00.072) 0:00:19.612 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:51:31 -0500 (0:00:00.056) 0:00:19.668 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:51:31 -0500 (0:00:00.059) 0:00:19.727 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:51:32 -0500 (0:00:01.685) 0:00:21.413 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:51:34 -0500 (0:00:01.543) 0:00:22.957 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.040) 0:00:22.998 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.037) 0:00:23.036 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.037) 0:00:23.073 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.037) 0:00:23.110 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.043) 0:00:23.154 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.038) 0:00:23.192 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.044) 0:00:23.236 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.073) 0:00:23.310 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.067) 0:00:23.378 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:51:34 -0500 (0:00:00.039) 0:00:23.417 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:51:35 -0500 (0:00:00.042) 0:00:23.460 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:51:35 -0500 (0:00:00.038) 0:00:23.498 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:51:35 -0500 (0:00:00.049) 0:00:23.548 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:51:35 -0500 (0:00:00.526) 0:00:24.075 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpml3pnktv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:51:36 -0500 (0:00:00.379) 0:00:24.454 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:51:36 -0500 (0:00:00.498) 0:00:24.953 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:51:36 -0500 (0:00:00.037) 0:00:24.990 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:51:36 -0500 (0:00:00.039) 0:00:25.030 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:51:36 -0500 (0:00:00.038) 0:00:25.068 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:51:36 -0500 (0:00:00.037) 0:00:25.106 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 08 February 2025 07:51:37 -0500 (0:00:00.475) 0:00:25.581 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:51:37 -0500 (0:00:00.088) 0:00:25.670 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 08 February 2025 07:51:37 -0500 (0:00:00.150) 0:00:25.821 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:51:37 -0500 (0:00:00.151) 0:00:25.973 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 08 February 2025 07:51:38 -0500 (0:00:00.557) 0:00:26.530 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 08 February 2025 07:51:38 -0500 (0:00:00.067) 0:00:26.598 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:51:38 -0500 (0:00:00.124) 0:00:26.722 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:51:38 -0500 (0:00:00.117) 0:00:26.839 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1739019096.458867, "block_size": 4096, "blocks": 8, "ctime": 1739019096.458867, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1739019096.458867, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:51:38 -0500 (0:00:00.456) 0:00:27.296 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:51:38 -0500 (0:00:00.039) 0:00:27.336 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017803", "end": "2025-02-08 07:51:39.267985", "rc": 1, "start": "2025-02-08 07:51:39.250182" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:51:39 -0500 (0:00:00.539) 0:00:27.876 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:51:39 -0500 (0:00:00.050) 0:00:27.926 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002547", "end": "2025-02-08 07:51:39.817659", "rc": 0, "start": "2025-02-08 07:51:39.815112" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:51:39 -0500 (0:00:00.402) 0:00:28.328 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:51:39 -0500 (0:00:00.080) 0:00:28.408 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002757", "end": "2025-02-08 07:51:40.339233", "rc": 0, "start": "2025-02-08 07:51:40.336476" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.435) 0:00:28.844 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.046) 0:00:28.891 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.043) 0:00:28.935 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.058) 0:00:28.994 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.098) 0:00:29.092 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.071) 0:00:29.163 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.069) 0:00:29.233 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:51:40 -0500 (0:00:00.139) 0:00:29.372 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035741", "end": "2025-02-08 07:51:41.313808", "rc": 1, "start": "2025-02-08 07:51:41.278067" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 08 February 2025 07:51:41 -0500 (0:00:00.501) 0:00:29.874 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:51:41 -0500 (0:00:00.125) 0:00:30.000 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:51:41 -0500 (0:00:00.081) 0:00:30.081 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:51:41 -0500 (0:00:00.094) 0:00:30.175 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:51:41 -0500 (0:00:00.073) 0:00:30.249 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:51:41 -0500 (0:00:00.081) 0:00:30.330 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003972", "end": "2025-02-08 07:51:43.322887", "rc": 0, "start": "2025-02-08 07:51:42.318915" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:51:43 -0500 (0:00:01.489) 0:00:31.819 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.048) 0:00:31.868 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.044) 0:00:31.912 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.106) 0:00:32.019 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.063) 0:00:32.082 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.070) 0:00:32.152 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.051) 0:00:32.204 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.049) 0:00:32.254 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:51:43 -0500 (0:00:00.060) 0:00:32.314 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:51:45 -0500 (0:00:01.601) 0:00:33.916 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:51:47 -0500 (0:00:01.544) 0:00:35.460 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.044) 0:00:35.505 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.046) 0:00:35.552 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.046) 0:00:35.598 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.055) 0:00:35.654 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.072) 0:00:35.726 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.059) 0:00:35.786 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.066) 0:00:35.853 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.089) 0:00:35.942 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.077) 0:00:36.020 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.095) 0:00:36.115 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.065) 0:00:36.180 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.117) 0:00:36.298 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:51:47 -0500 (0:00:00.075) 0:00:36.374 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:51:48 -0500 (0:00:00.617) 0:00:36.991 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmp67t5u7k2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:51:49 -0500 (0:00:00.468) 0:00:37.459 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:51:49 -0500 (0:00:00.524) 0:00:37.984 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:51:49 -0500 (0:00:00.055) 0:00:38.039 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:51:49 -0500 (0:00:00.057) 0:00:38.097 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:51:49 -0500 (0:00:00.047) 0:00:38.145 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:51:49 -0500 (0:00:00.046) 0:00:38.191 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.398) 0:00:38.590 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.047) 0:00:38.638 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.107) 0:00:38.745 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.077) 0:00:38.823 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.102) 0:00:38.926 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.067) 0:00:38.994 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.042) 0:00:39.036 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:51:50 -0500 (0:00:00.045) 0:00:39.082 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:51:52 -0500 (0:00:01.626) 0:00:40.708 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:51:53 -0500 (0:00:01.566) 0:00:42.274 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:51:53 -0500 (0:00:00.060) 0:00:42.335 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:51:53 -0500 (0:00:00.054) 0:00:42.389 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.057) 0:00:42.447 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.114) 0:00:42.561 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.155) 0:00:42.717 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.092) 0:00:42.809 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.071) 0:00:42.881 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.114) 0:00:42.995 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.061) 0:00:43.057 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.108) 0:00:43.165 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.069) 0:00:43.235 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.056) 0:00:43.292 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:51:54 -0500 (0:00:00.044) 0:00:43.336 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:51:55 -0500 (0:00:00.596) 0:00:43.933 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpwtnh8u5a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:51:55 -0500 (0:00:00.415) 0:00:44.348 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:51:56 -0500 (0:00:00.900) 0:00:45.249 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:51:56 -0500 (0:00:00.077) 0:00:45.326 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:51:56 -0500 (0:00:00.062) 0:00:45.388 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:51:57 -0500 (0:00:00.062) 0:00:45.450 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:51:57 -0500 (0:00:00.045) 0:00:45.496 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:51:57 -0500 (0:00:00.486) 0:00:45.982 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 08 February 2025 07:51:57 -0500 (0:00:00.204) 0:00:46.186 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:51:57 -0500 (0:00:00.098) 0:00:46.285 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1739019116.5926225, "block_size": 4096, "blocks": 0, "ctime": 1739019116.5926225, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35516, "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": 1739019116.5926225, "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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 08 February 2025 07:51:58 -0500 (0:00:00.442) 0:00:46.728 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 08 February 2025 07:51:58 -0500 (0:00:00.043) 0:00:46.771 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:51:58 -0500 (0:00:00.064) 0:00:46.836 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:51:58 -0500 (0:00:00.037) 0:00:46.874 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1739019116.434989, "block_size": 4096, "blocks": 8, "ctime": 1739019109.4699464, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1739019109.4699464, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:51:58 -0500 (0:00:00.429) 0:00:47.303 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:51:58 -0500 (0:00:00.056) 0:00:47.359 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018454", "end": "2025-02-08 07:51:59.302237", "rc": 1, "start": "2025-02-08 07:51:59.283783" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:51:59 -0500 (0:00:00.452) 0:00:47.812 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:51:59 -0500 (0:00:00.058) 0:00:47.870 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002790", "end": "2025-02-08 07:51:59.972051", "rc": 0, "start": "2025-02-08 07:51:59.969261" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.640) 0:00:48.511 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.060) 0:00:48.571 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002669", "end": "2025-02-08 07:52:00.484403", "rc": 0, "start": "2025-02-08 07:52:00.481734" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.406) 0:00:48.978 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.052) 0:00:49.030 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.063) 0:00:49.093 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.063) 0:00:49.156 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.067) 0:00:49.224 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.056) 0:00:49.280 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:52:00 -0500 (0:00:00.061) 0:00:49.342 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.107) 0:00:49.449 ***** ok: [managed-node2] => { "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.041759", "end": "2025-02-08 07:52:01.407994", "rc": 0, "start": "2025-02-08 07:52:01.366235" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.466) 0:00:49.916 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.094) 0:00:50.010 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.108) 0:00:50.119 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.128) 0:00:50.247 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:52:01 -0500 (0:00:00.115) 0:00:50.363 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.100) 0:00:50.464 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002978", "end": "2025-02-08 07:52:02.393729", "rc": 0, "start": "2025-02-08 07:52:02.390751" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.423) 0:00:50.887 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.039) 0:00:50.927 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.045) 0:00:50.972 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.111) 0:00:51.084 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.098) 0:00:51.182 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.118) 0:00:51.300 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:02 -0500 (0:00:00.115) 0:00:51.415 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.060) 0:00:51.476 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:03 -0500 (0:00:00.063) 0:00:51.540 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:04 -0500 (0:00:01.652) 0:00:53.192 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:06 -0500 (0:00:01.503) 0:00:54.695 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.045) 0:00:54.740 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.106) 0:00:54.847 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.073) 0:00:54.921 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.058) 0:00:54.979 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.070) 0:00:55.050 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.054) 0:00:55.105 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.076) 0:00:55.181 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.119) 0:00:55.300 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:06 -0500 (0:00:00.080) 0:00:55.381 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:07 -0500 (0:00:00.050) 0:00:55.432 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:07 -0500 (0:00:00.055) 0:00:55.487 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:07 -0500 (0:00:00.041) 0:00:55.528 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:07 -0500 (0:00:00.036) 0:00:55.564 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:07 -0500 (0:00:00.555) 0:00:56.120 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpayb2b981" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:08 -0500 (0:00:00.478) 0:00:56.598 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:08 -0500 (0:00:00.725) 0:00:57.324 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:08 -0500 (0:00:00.060) 0:00:57.384 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.065) 0:00:57.450 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.058) 0:00:57.509 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.041) 0:00:57.551 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.365) 0:00:57.916 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.051) 0:00:57.968 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.111) 0:00:58.079 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.119) 0:00:58.198 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.074) 0:00:58.273 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.067) 0:00:58.341 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:09 -0500 (0:00:00.048) 0:00:58.389 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:11 -0500 (0:00:01.747) 0:01:00.136 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:13 -0500 (0:00:01.602) 0:01:01.739 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.060) 0:01:01.799 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.062) 0:01:01.862 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.065) 0:01:01.927 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.112) 0:01:02.040 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.056) 0:01:02.096 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.048) 0:01:02.145 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.047) 0:01:02.193 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.082) 0:01:02.275 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.043) 0:01:02.319 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:13 -0500 (0:00:00.051) 0:01:02.370 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.069) 0:01:02.440 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.062) 0:01:02.502 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.168) 0:01:02.671 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:14 -0500 (0:00:00.752) 0:01:03.424 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmptid5emrn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:15 -0500 (0:00:00.484) 0:01:03.908 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.863) 0:01:04.771 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.087) 0:01:04.859 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.045) 0:01:04.904 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.040) 0:01:04.944 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.039) 0:01:04.984 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.369) 0:01:05.353 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 08 February 2025 07:52:16 -0500 (0:00:00.069) 0:01:05.423 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.076) 0:01:05.499 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.071) 0:01:05.570 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.058) 0:01:05.629 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.061) 0:01:05.690 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:17 -0500 (0:00:00.046) 0:01:05.737 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:18 -0500 (0:00:01.626) 0:01:07.363 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:20 -0500 (0:00:01.668) 0:01:09.032 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:20 -0500 (0:00:00.048) 0:01:09.080 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:20 -0500 (0:00:00.056) 0:01:09.136 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:20 -0500 (0:00:00.068) 0:01:09.205 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:20 -0500 (0:00:00.127) 0:01:09.333 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:20 -0500 (0:00:00.069) 0:01:09.402 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.060) 0:01:09.463 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.069) 0:01:09.532 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.092) 0:01:09.625 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.058) 0:01:09.683 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.056) 0:01:09.739 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.070) 0:01:09.810 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.066) 0:01:09.877 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:21 -0500 (0:00:00.074) 0:01:09.952 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:22 -0500 (0:00:00.678) 0:01:10.630 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpv3zmaya4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:22 -0500 (0:00:00.409) 0:01:11.040 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.606) 0:01:11.646 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.042) 0:01:11.689 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.086) 0:01:11.775 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.048) 0:01:11.823 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.038) 0:01:11.861 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.366) 0:01:12.228 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.076) 0:01:12.304 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 08 February 2025 07:52:23 -0500 (0:00:00.061) 0:01:12.366 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1739019136.2024317, "block_size": 4096, "blocks": 0, "ctime": 1739019136.2024317, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35647, "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": 1739019136.2024317, "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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.369) 0:01:12.735 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.041) 0:01:12.777 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.062) 0:01:12.839 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.037) 0:01:12.877 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.404) 0:01:13.281 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:52:24 -0500 (0:00:00.044) 0:01:13.325 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018065", "end": "2025-02-08 07:52:25.254175", "rc": 1, "start": "2025-02-08 07:52:25.236110" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.440) 0:01:13.766 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.067) 0:01:13.833 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.063) 0:01:13.896 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.062) 0:01:13.959 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.060) 0:01:14.019 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.060) 0:01:14.079 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.068) 0:01:14.148 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.055) 0:01:14.203 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.063) 0:01:14.267 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:52:25 -0500 (0:00:00.083) 0:01:14.350 ***** ok: [managed-node2] => { "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.044133", "end": "2025-02-08 07:52:26.275153", "rc": 0, "start": "2025-02-08 07:52:26.231020" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.474) 0:01:14.825 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.168) 0:01:14.993 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.074) 0:01:15.068 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.213) 0:01:15.281 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:52:26 -0500 (0:00:00.105) 0:01:15.387 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.121) 0:01:15.508 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003054", "end": "2025-02-08 07:52:27.457119", "rc": 0, "start": "2025-02-08 07:52:27.454065" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.466) 0:01:15.975 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.059) 0:01:16.034 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.053) 0:01:16.088 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.100) 0:01:16.188 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:27 -0500 (0:00:00.113) 0:01:16.302 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.179) 0:01:16.481 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.128) 0:01:16.610 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.105) 0:01:16.715 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:28 -0500 (0:00:00.062) 0:01:16.778 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:30 -0500 (0:00:01.649) 0:01:18.427 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:31 -0500 (0:00:01.677) 0:01:20.104 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.039) 0:01:20.144 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.042) 0:01:20.186 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.044) 0:01:20.230 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.057) 0:01:20.288 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:31 -0500 (0:00:00.077) 0:01:20.365 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.087) 0:01:20.453 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.093) 0:01:20.547 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.123) 0:01:20.670 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.059) 0:01:20.729 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.065) 0:01:20.795 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.068) 0:01:20.864 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.059) 0:01:20.923 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:32 -0500 (0:00:00.067) 0:01:20.991 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:33 -0500 (0:00:00.619) 0:01:21.610 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpoktjsrua" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:33 -0500 (0:00:00.373) 0:01:21.984 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.589) 0:01:22.574 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.051) 0:01:22.625 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.061) 0:01:22.686 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.074) 0:01:22.761 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.067) 0:01:22.828 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.414) 0:01:23.243 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.040) 0:01:23.283 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.061) 0:01:23.345 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:34 -0500 (0:00:00.073) 0:01:23.418 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.045) 0:01:23.463 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.074) 0:01:23.538 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:35 -0500 (0:00:00.043) 0:01:23.582 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:36 -0500 (0:00:01.618) 0:01:25.200 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:38 -0500 (0:00:01.451) 0:01:26.652 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.056) 0:01:26.708 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.105) 0:01:26.814 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.098) 0:01:26.912 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.104) 0:01:27.016 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.124) 0:01:27.140 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.077) 0:01:27.218 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.089) 0:01:27.307 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:38 -0500 (0:00:00.112) 0:01:27.420 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.066) 0:01:27.487 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.060) 0:01:27.548 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.049) 0:01:27.597 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.046) 0:01:27.644 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.050) 0:01:27.695 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:39 -0500 (0:00:00.593) 0:01:28.288 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpjtizcvb_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:40 -0500 (0:00:00.412) 0:01:28.700 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.825) 0:01:29.526 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.038) 0:01:29.564 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.039) 0:01:29.604 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.039) 0:01:29.643 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.037) 0:01:29.681 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.359) 0:01:30.040 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.062) 0:01:30.102 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.072) 0:01:30.174 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.047) 0:01:30.222 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.037) 0:01:30.260 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:41 -0500 (0:00:00.038) 0:01:30.298 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:43 -0500 (0:00:01.631) 0:01:31.930 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:44 -0500 (0:00:01.480) 0:01:33.410 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.074) 0:01:33.485 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.055) 0:01:33.541 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.057) 0:01:33.598 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.043) 0:01:33.642 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.051) 0:01:33.694 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.084) 0:01:33.778 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.042) 0:01:33.820 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.076) 0:01:33.897 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.038) 0:01:33.935 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.036) 0:01:33.971 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.050) 0:01:34.021 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.056) 0:01:34.078 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:45 -0500 (0:00:00.036) 0:01:34.115 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.529) 0:01:34.644 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpcxubwy9m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:46 -0500 (0:00:00.372) 0:01:35.017 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.522) 0:01:35.540 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.036) 0:01:35.577 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.076) 0:01:35.653 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.043) 0:01:35.696 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.038) 0:01:35.735 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.360) 0:01:36.096 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.068) 0:01:36.164 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.076) 0:01:36.240 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.072) 0:01:36.313 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.047) 0:01:36.360 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:47 -0500 (0:00:00.046) 0:01:36.407 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:48 -0500 (0:00:00.055) 0:01:36.462 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:52:49 -0500 (0:00:01.621) 0:01:38.084 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:52:51 -0500 (0:00:01.638) 0:01:39.723 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.060) 0:01:39.783 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.082) 0:01:39.866 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.057) 0:01:39.924 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.061) 0:01:39.985 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.127) 0:01:40.113 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.043) 0:01:40.156 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.054) 0:01:40.211 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.084) 0:01:40.295 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:52:51 -0500 (0:00:00.058) 0:01:40.353 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.077) 0:01:40.431 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.067) 0:01:40.499 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.065) 0:01:40.565 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.060) 0:01:40.625 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:52:52 -0500 (0:00:00.668) 0:01:41.294 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpzidnxh2_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:52:53 -0500 (0:00:00.456) 0:01:41.751 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:52:54 -0500 (0:00:00.692) 0:01:42.443 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:52:54 -0500 (0:00:00.084) 0:01:42.528 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:52:54 -0500 (0:00:00.085) 0:01:42.613 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:52:54 -0500 (0:00:00.110) 0:01:42.724 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:52:54 -0500 (0:00:00.066) 0:01:42.790 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:52:54 -0500 (0:00:00.453) 0:01:43.244 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 08 February 2025 07:52:54 -0500 (0:00:00.117) 0:01:43.361 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:52:55 -0500 (0:00:00.142) 0:01:43.504 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:52:55 -0500 (0:00:00.093) 0:01:43.597 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:52:55 -0500 (0:00:00.439) 0:01:44.037 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:52:55 -0500 (0:00:00.058) 0:01:44.095 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019386", "end": "2025-02-08 07:52:56.025938", "rc": 1, "start": "2025-02-08 07:52:56.006552" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.446) 0:01:44.542 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.056) 0:01:44.598 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.044) 0:01:44.642 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.046) 0:01:44.689 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.090) 0:01:44.780 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.040) 0:01:44.820 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.042) 0:01:44.863 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.058) 0:01:44.921 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.047) 0:01:44.969 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:52:56 -0500 (0:00:00.111) 0:01:45.081 ***** ok: [managed-node2] => { "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.042610", "end": "2025-02-08 07:52:57.064050", "rc": 0, "start": "2025-02-08 07:52:57.021440" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.478) 0:01:45.560 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.065) 0:01:45.626 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.040) 0:01:45.666 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.095) 0:01:45.762 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.090) 0:01:45.853 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.125) 0:01:45.978 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002969", "end": "2025-02-08 07:52:57.857554", "rc": 0, "start": "2025-02-08 07:52:57.854585" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.380) 0:01:46.358 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 08 February 2025 07:52:57 -0500 (0:00:00.046) 0:01:46.405 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.042) 0:01:46.447 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.078) 0:01:46.525 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.064) 0:01:46.590 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.087) 0:01:46.677 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.062) 0:01:46.740 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.109) 0:01:46.849 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:52:58 -0500 (0:00:00.089) 0:01:46.938 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:00 -0500 (0:00:01.843) 0:01:48.781 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:01 -0500 (0:00:01.580) 0:01:50.362 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:01 -0500 (0:00:00.054) 0:01:50.417 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.054) 0:01:50.471 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.044) 0:01:50.516 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.040) 0:01:50.556 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.045) 0:01:50.602 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.042) 0:01:50.644 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.065) 0:01:50.710 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.090) 0:01:50.800 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.084) 0:01:50.885 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.044) 0:01:50.929 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.046) 0:01:50.975 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.038) 0:01:51.014 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:02 -0500 (0:00:00.040) 0:01:51.055 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:03 -0500 (0:00:00.550) 0:01:51.606 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpvaymwun4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:03 -0500 (0:00:00.388) 0:01:51.994 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.566) 0:01:52.560 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.038) 0:01:52.598 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.041) 0:01:52.640 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.041) 0:01:52.681 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.039) 0:01:52.720 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.358) 0:01:53.079 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] <info> #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.040) 0:01:53.119 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.064) 0:01:53.184 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.097) 0:01:53.281 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.079) 0:01:53.360 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:04 -0500 (0:00:00.059) 0:01:53.420 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:05 -0500 (0:00:00.063) 0:01:53.483 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:06 -0500 (0:00:01.719) 0:01:55.203 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:08 -0500 (0:00:01.488) 0:01:56.691 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.039) 0:01:56.731 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.048) 0:01:56.780 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.053) 0:01:56.833 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.037) 0:01:56.870 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.046) 0:01:56.917 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.038) 0:01:56.956 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.043) 0:01:56.999 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.155) 0:01:57.155 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.039) 0:01:57.194 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.038) 0:01:57.233 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.044) 0:01:57.277 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.049) 0:01:57.327 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:08 -0500 (0:00:00.037) 0:01:57.365 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:09 -0500 (0:00:00.570) 0:01:57.935 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmp04nwem47" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:09 -0500 (0:00:00.468) 0:01:58.403 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:10 -0500 (0:00:00.767) 0:01:59.171 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:10 -0500 (0:00:00.061) 0:01:59.232 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:10 -0500 (0:00:00.067) 0:01:59.300 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] <info> #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] <info> #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:10 -0500 (0:00:00.123) 0:01:59.424 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:11 -0500 (0:00:00.064) 0:01:59.488 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 08 February 2025 07:53:11 -0500 (0:00:00.419) 0:01:59.907 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:11 -0500 (0:00:00.099) 0:02:00.007 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:11 -0500 (0:00:00.102) 0:02:00.110 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:11 -0500 (0:00:00.070) 0:02:00.180 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:11 -0500 (0:00:00.076) 0:02:00.257 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:11 -0500 (0:00:00.071) 0:02:00.329 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:13 -0500 (0:00:01.668) 0:02:01.997 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:15 -0500 (0:00:01.540) 0:02:03.538 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.061) 0:02:03.599 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.079) 0:02:03.678 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.045) 0:02:03.724 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.044) 0:02:03.768 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.057) 0:02:03.826 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.043) 0:02:03.869 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.043) 0:02:03.912 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.072) 0:02:03.985 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.035) 0:02:04.021 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.071) 0:02:04.093 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.044) 0:02:04.138 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.037) 0:02:04.175 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:15 -0500 (0:00:00.038) 0:02:04.214 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:16 -0500 (0:00:00.529) 0:02:04.743 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpuqb2h6tg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:16 -0500 (0:00:00.461) 0:02:05.205 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] <info> #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.680) 0:02:05.885 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.062) 0:02:05.948 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] <info> #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.059) 0:02:06.007 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] <info> #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] <info> #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.047) 0:02:06.054 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:17 -0500 (0:00:00.042) 0:02:06.097 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.376) 0:02:06.473 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.220) 0:02:06.694 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.102) 0:02:06.797 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.095) 0:02:06.892 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.056) 0:02:06.949 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.048) 0:02:06.998 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 08 February 2025 07:53:18 -0500 (0:00:00.038) 0:02:07.037 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 08 February 2025 07:53:20 -0500 (0:00:01.578) 0:02:08.615 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 08 February 2025 07:53:21 -0500 (0:00:01.471) 0:02:10.087 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts 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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.043) 0:02:10.131 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.058) 0:02:10.190 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.057) 0:02:10.247 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.060) 0:02:10.308 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 08 February 2025 07:53:21 -0500 (0:00:00.070) 0:02:10.379 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.061) 0:02:10.440 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.068) 0:02:10.509 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.115) 0:02:10.624 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.058) 0:02:10.683 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.087) 0:02:10.770 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.055) 0:02:10.826 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.052) 0:02:10.878 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 08 February 2025 07:53:22 -0500 (0:00:00.041) 0:02:10.920 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 08 February 2025 07:53:23 -0500 (0:00:00.612) 0:02:11.533 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49283fhdog_4k/tmpuo0zpvux" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 08 February 2025 07:53:23 -0500 (0:00:00.442) 0:02:11.976 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.485) 0:02:12.462 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.036) 0:02:12.499 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.039) 0:02:12.538 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] <info> #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] <info> #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.039) 0:02:12.578 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.037) 0:02:12.615 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.389) 0:02:13.005 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.077) 0:02:13.082 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.067) 0:02:13.150 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 08 February 2025 07:53:24 -0500 (0:00:00.038) 0:02:13.188 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.385) 0:02:13.573 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.036) 0:02:13.610 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019003", "end": "2025-02-08 07:53:25.504372", "rc": 1, "start": "2025-02-08 07:53:25.485369" } 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.386) 0:02:13.997 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.041) 0:02:14.038 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.039) 0:02:14.077 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.041) 0:02:14.118 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.040) 0:02:14.158 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.036) 0:02:14.195 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 08 February 2025 07:53:25 -0500 (0:00:00.075) 0:02:14.270 ***** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.882158", "end": "2025-02-08 07:53:27.022524", "rc": 0, "start": "2025-02-08 07:53:26.140366" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 08 February 2025 07:53:27 -0500 (0:00:01.276) 0:02:15.547 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.068) 0:02:15.615 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.055) 0:02:15.671 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.055) 0:02:15.726 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.050) 0:02:15.777 ***** included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.120) 0:02:15.897 ***** ok: [managed-node2] => { "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.042389", "end": "2025-02-08 07:53:27.854873", "rc": 0, "start": "2025-02-08 07:53:27.812484" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 08 February 2025 07:53:27 -0500 (0:00:00.450) 0:02:16.348 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008299", "end": "2025-02-08 07:53:28.242223", "rc": 0, "start": "2025-02-08 07:53:28.233924" } STDOUT: IP 1: lo: <LOOPBACK,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:e6:67:c6:f1:a5 brd ff:ff:ff:ff:ff:ff inet 10.31.44.60/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2739sec preferred_lft 2739sec inet6 fe80::e6:67ff:fec6:f1a5/64 scope link valid_lft forever preferred_lft forever 51: rpltstbr: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether aa:e3:16:b8:36:bc brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.60 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.60 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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-yJj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 08 February 2025 07:53:28 -0500 (0:00:00.410) 0:02:16.758 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.155291", "end": "2025-02-08 07:53:28.916326", "rc": 0, "start": "2025-02-08 07:53:28.761035" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.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 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3765 0 --:--:-- --:--:-- --:--:-- 3765 % 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 5596 0 --:--:-- --:--:-- --:--:-- 5596 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 08 February 2025 07:53:29 -0500 (0:00:00.679) 0:02:17.438 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-yJj/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-yJj/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-yJj/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-yJj/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-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-yJj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26