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-IXm/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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 04 January 2025 16:49:16 -0500 (0:00:00.019) 0:00:00.019 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 04 January 2025 16:49:17 -0500 (0:00:00.947) 0:00:00.966 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 04 January 2025 16:49:17 -0500 (0:00:00.041) 0:00:01.008 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 04 January 2025 16:49:17 -0500 (0:00:00.497) 0:00:01.506 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 04 January 2025 16:49:18 -0500 (0:00:00.513) 0:00:02.020 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 04 January 2025 16:49:18 -0500 (0:00:00.103) 0:00:02.123 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 04 January 2025 16:49:18 -0500 (0:00:00.050) 0:00:02.173 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 04 January 2025 16:49:18 -0500 (0:00:00.094) 0:00:02.268 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 04 January 2025 16:49:18 -0500 (0:00:00.457) 0:00:02.726 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 04 January 2025 16:49:18 -0500 (0:00:00.028) 0:00:02.754 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 04 January 2025 16:49:19 -0500 (0:00:00.028) 0:00:02.782 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.235835", "end": "2025-01-04 16:49:19.615600", "rc": 0, "start": "2025-01-04 16:49:19.379765" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 04 January 2025 16:49:19 -0500 (0:00:00.652) 0:00:03.434 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 04 January 2025 16:49:19 -0500 (0:00:00.023) 0:00:03.458 ****** ok: [managed-node1] => { "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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 04 January 2025 16:49:19 -0500 (0:00:00.017) 0:00:03.475 ****** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.630) 0:00:04.106 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.020) 0:00:04.126 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.032) 0:00:04.159 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.022) 0:00:04.181 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.079) 0:00:04.261 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.029) 0:00:04.291 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.028) 0:00:04.319 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003207", "end": "2025-01-04 16:49:20.895162", "rc": 0, "start": "2025-01-04 16:49:20.891955" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:49:20 -0500 (0:00:00.420) 0:00:04.740 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.042) 0:00:04.782 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.038) 0:00:04.820 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.070) 0:00:04.890 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008386", "end": "2025-01-04 16:49:21.465689", "rc": 1, "start": "2025-01-04 16:49:21.457303" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.379) 0:00:05.270 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.025) 0:00:05.295 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.341) 0:00:05.637 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.026) 0:00:05.663 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:49:21 -0500 (0:00:00.038) 0:00:05.702 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:49:22 -0500 (0:00:00.098) 0:00:05.801 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:49:22 -0500 (0:00:00.037) 0:00:05.838 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:49:22 -0500 (0:00:00.019) 0:00:05.858 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:49:22 -0500 (0:00:00.017) 0:00:05.875 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:49:22 -0500 (0:00:00.016) 0:00:05.892 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:49:23 -0500 (0:00:01.738) 0:00:07.631 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:49:25 -0500 (0:00:01.823) 0:00:09.455 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:49:25 -0500 (0:00:00.044) 0:00:09.499 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:49:25 -0500 (0:00:00.042) 0:00:09.542 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:49:25 -0500 (0:00:00.039) 0:00:09.581 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:49:25 -0500 (0:00:00.035) 0:00:09.617 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:49:25 -0500 (0:00:00.044) 0:00:09.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:49:25 -0500 (0:00:00.035) 0:00:09.697 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:49:26 -0500 (0:00:00.085) 0:00:09.782 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:49:26 -0500 (0:00:00.114) 0:00:09.896 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:49:26 -0500 (0:00:00.066) 0:00:09.962 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:49:26 -0500 (0:00:00.063) 0:00:10.025 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:49:26 -0500 (0:00:00.078) 0:00:10.104 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:49:26 -0500 (0:00:00.058) 0:00:10.163 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:49:26 -0500 (0:00:00.059) 0:00:10.222 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:49:27 -0500 (0:00:00.924) 0:00:11.147 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpyrju871o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:49:27 -0500 (0:00:00.571) 0:00:11.719 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:49:28 -0500 (0:00:00.711) 0:00:12.430 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:49:28 -0500 (0:00:00.039) 0:00:12.470 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:49:28 -0500 (0:00:00.043) 0:00:12.513 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:49:28 -0500 (0:00:00.078) 0:00:12.592 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:49:28 -0500 (0:00:00.035) 0:00:12.627 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:49:29 -0500 (0:00:00.481) 0:00:13.108 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:49:29 -0500 (0:00:00.064) 0:00:13.173 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:49:29 -0500 (0:00:00.102) 0:00:13.275 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:49:29 -0500 (0:00:00.096) 0:00:13.372 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:49:29 -0500 (0:00:00.042) 0:00:13.415 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027368.5985298, "block_size": 4096, "blocks": 8, "ctime": 1736027368.5985298, "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": 1736027368.5985298, "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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:49:30 -0500 (0:00:00.370) 0:00:13.785 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:49:30 -0500 (0:00:00.038) 0:00:13.824 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017834", "end": "2025-01-04 16:49:30.381063", "rc": 1, "start": "2025-01-04 16:49:30.363229" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:49:30 -0500 (0:00:00.396) 0:00:14.220 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:49:30 -0500 (0:00:00.036) 0:00:14.257 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002904", "end": "2025-01-04 16:49:30.819803", "rc": 0, "start": "2025-01-04 16:49:30.816899" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:49:30 -0500 (0:00:00.457) 0:00:14.715 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:49:31 -0500 (0:00:00.072) 0:00:14.787 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003916", "end": "2025-01-04 16:49:32.501830", "rc": 0, "start": "2025-01-04 16:49:31.497914" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:49:32 -0500 (0:00:01.644) 0:00:16.432 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:49:32 -0500 (0:00:00.094) 0:00:16.526 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:49:32 -0500 (0:00:00.075) 0:00:16.601 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:49:32 -0500 (0:00:00.066) 0:00:16.668 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:49:32 -0500 (0:00:00.058) 0:00:16.727 ****** skipping: [managed-node1] => (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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.056) 0:00:16.783 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.061) 0:00:16.845 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.079) 0:00:16.924 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036108", "end": "2025-01-04 16:49:33.497439", "rc": 1, "start": "2025-01-04 16:49:33.461331" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.471) 0:00:17.395 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.107) 0:00:17.503 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.056) 0:00:17.560 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.088) 0:00:17.648 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:49:33 -0500 (0:00:00.070) 0:00:17.719 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.059) 0:00:17.778 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003620", "end": "2025-01-04 16:49:34.341164", "rc": 0, "start": "2025-01-04 16:49:34.337544" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.385) 0:00:18.164 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.039) 0:00:18.204 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.049) 0:00:18.253 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.133) 0:00:18.387 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006013", "end": "2025-01-04 16:49:34.989226", "rc": 1, "start": "2025-01-04 16:49:34.983213" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.471) 0:00:18.858 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.087) 0:00:18.946 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.381) 0:00:19.327 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.041) 0:00:19.369 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.065) 0:00:19.434 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.085) 0:00:19.520 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.077) 0:00:19.597 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.068) 0:00:19.666 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.057) 0:00:19.723 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:49:36 -0500 (0:00:00.106) 0:00:19.829 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:49:37 -0500 (0:00:01.852) 0:00:21.681 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:49:39 -0500 (0:00:01.570) 0:00:23.252 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:49:39 -0500 (0:00:00.081) 0:00:23.333 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:49:39 -0500 (0:00:00.064) 0:00:23.398 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:49:39 -0500 (0:00:00.091) 0:00:23.489 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:49:39 -0500 (0:00:00.060) 0:00:23.550 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:49:39 -0500 (0:00:00.092) 0:00:23.642 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:49:39 -0500 (0:00:00.072) 0:00:23.714 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:49:40 -0500 (0:00:00.069) 0:00:23.784 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:49:40 -0500 (0:00:00.152) 0:00:23.936 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:49:40 -0500 (0:00:00.067) 0:00:24.004 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:49:40 -0500 (0:00:00.055) 0:00:24.059 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:49:40 -0500 (0:00:00.064) 0:00:24.123 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:49:40 -0500 (0:00:00.058) 0:00:24.182 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:49:40 -0500 (0:00:00.061) 0:00:24.243 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.622) 0:00:24.865 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmphrse1y2r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.430) 0:00:25.296 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.579) 0:00:25.876 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.042) 0:00:25.918 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.038) 0:00:25.957 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.039) 0:00:25.996 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.036) 0:00:26.033 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.389) 0:00:26.423 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.044) 0:00:26.468 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.090) 0:00:26.558 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.066) 0:00:26.624 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.410) 0:00:27.034 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.039) 0:00:27.074 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.097) 0:00:27.171 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.042) 0:00:27.214 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027382.0156753, "block_size": 4096, "blocks": 8, "ctime": 1736027382.0156753, "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": 1736027382.0156753, "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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.391) 0:00:27.605 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.039) 0:00:27.645 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018669", "end": "2025-01-04 16:49:44.218600", "rc": 1, "start": "2025-01-04 16:49:44.199931" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:49:44 -0500 (0:00:00.496) 0:00:28.141 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:49:44 -0500 (0:00:00.129) 0:00:28.271 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002895", "end": "2025-01-04 16:49:44.943121", "rc": 0, "start": "2025-01-04 16:49:44.940226" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.522) 0:00:28.793 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.056) 0:00:28.850 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002852", "end": "2025-01-04 16:49:45.403632", "rc": 0, "start": "2025-01-04 16:49:45.400780" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.404) 0:00:29.254 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.070) 0:00:29.325 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.066) 0:00:29.391 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.063) 0:00:29.455 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.096) 0:00:29.552 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.039) 0:00:29.591 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.046) 0:00:29.637 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.085) 0:00:29.722 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035838", "end": "2025-01-04 16:49:46.302245", "rc": 1, "start": "2025-01-04 16:49:46.266407" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.421) 0:00:30.143 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.100) 0:00:30.244 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.055) 0:00:30.299 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.094) 0:00:30.393 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.068) 0:00:30.461 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.072) 0:00:30.534 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002999", "end": "2025-01-04 16:49:47.088850", "rc": 0, "start": "2025-01-04 16:49:47.085851" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.411) 0:00:30.945 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.039) 0:00:30.985 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.036) 0:00:31.021 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.064) 0:00:31.085 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.061) 0:00:31.147 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.070) 0:00:31.217 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.085) 0:00:31.303 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.104) 0:00:31.407 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.113) 0:00:31.520 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:49:49 -0500 (0:00:01.804) 0:00:33.325 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:49:51 -0500 (0:00:01.498) 0:00:34.824 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.072) 0:00:34.896 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.065) 0:00:34.961 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.106) 0:00:35.068 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.111) 0:00:35.179 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.077) 0:00:35.257 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.070) 0:00:35.327 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.073) 0:00:35.400 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.131) 0:00:35.531 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.120) 0:00:35.652 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.064) 0:00:35.716 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.076) 0:00:35.793 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.061) 0:00:35.854 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.073) 0:00:35.927 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.728) 0:00:36.656 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpx_h6x3u9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:49:53 -0500 (0:00:00.479) 0:00:37.135 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:49:53 -0500 (0:00:00.525) 0:00:37.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:49:53 -0500 (0:00:00.075) 0:00:37.736 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.052) 0:00:37.789 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.047) 0:00:37.836 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.037) 0:00:37.873 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.444) 0:00:38.318 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.065) 0:00:38.383 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.093) 0:00:38.476 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.078) 0:00:38.555 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.080) 0:00:38.635 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.050) 0:00:38.686 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.046) 0:00:38.732 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.058) 0:00:38.791 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:49:56 -0500 (0:00:01.743) 0:00:40.535 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:49:58 -0500 (0:00:01.611) 0:00:42.146 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.058) 0:00:42.204 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.062) 0:00:42.267 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.043) 0:00:42.310 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.036) 0:00:42.346 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.043) 0:00:42.390 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.041) 0:00:42.431 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.055) 0:00:42.487 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.098) 0:00:42.586 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.042) 0:00:42.629 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.080) 0:00:42.709 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.041) 0:00:42.751 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.036) 0:00:42.787 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.035) 0:00:42.823 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.537) 0:00:43.360 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpxgqb5c5v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.391) 0:00:43.752 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.793) 0:00:44.545 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.037) 0:00:44.583 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.038) 0:00:44.622 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #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] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.039) 0:00:44.662 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.042) 0:00:44.704 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.432) 0:00:45.137 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.101) 0:00:45.239 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.094) 0:00:45.334 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027400.638562, "block_size": 4096, "blocks": 0, "ctime": 1736027400.638562, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34931, "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": 1736027400.638562, "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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.445) 0:00:45.779 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.066) 0:00:45.846 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.102) 0:00:45.948 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.060) 0:00:46.008 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027400.4827902, "block_size": 4096, "blocks": 8, "ctime": 1736027393.8137488, "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": 1736027393.8137488, "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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.416) 0:00:46.424 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.048) 0:00:46.473 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019389", "end": "2025-01-04 16:50:03.044788", "rc": 1, "start": "2025-01-04 16:50:03.025399" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.441) 0:00:46.914 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.085) 0:00:46.999 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002855", "end": "2025-01-04 16:50:03.751913", "rc": 0, "start": "2025-01-04 16:50:03.749058" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.600) 0:00:47.599 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.055) 0:00:47.655 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002901", "end": "2025-01-04 16:50:04.213515", "rc": 0, "start": "2025-01-04 16:50:04.210614" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.396) 0:00:48.051 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.068) 0:00:48.119 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.064) 0:00:48.184 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.062) 0:00:48.246 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.063) 0:00:48.310 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.046) 0:00:48.357 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.043) 0:00:48.400 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.122) 0:00:48.523 ****** ok: [managed-node1] => { "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.051773", "end": "2025-01-04 16:50:05.196900", "rc": 0, "start": "2025-01-04 16:50:05.145127" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.628) 0:00:49.151 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.144) 0:00:49.296 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.073) 0:00:49.370 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.131) 0:00:49.501 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.153) 0:00:49.655 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.109) 0:00:49.765 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003049", "end": "2025-01-04 16:50:06.354936", "rc": 0, "start": "2025-01-04 16:50:06.351887" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.424) 0:00:50.189 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.055) 0:00:50.244 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.043) 0:00:50.288 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.071) 0:00:50.359 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.062) 0:00:50.422 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.168) 0:00:50.590 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.106) 0:00:50.697 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.062) 0:00:50.760 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.070) 0:00:50.831 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:08 -0500 (0:00:01.783) 0:00:52.614 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:10 -0500 (0:00:01.534) 0:00:54.149 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.060) 0:00:54.209 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.057) 0:00:54.267 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.056) 0:00:54.324 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.059) 0:00:54.383 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.065) 0:00:54.449 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.059) 0:00:54.509 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.069) 0:00:54.578 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.112) 0:00:54.691 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.065) 0:00:54.757 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.054) 0:00:54.811 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.057) 0:00:54.869 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.044) 0:00:54.913 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.040) 0:00:54.954 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.601) 0:00:55.555 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpo2v695_0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:12 -0500 (0:00:00.379) 0:00:55.935 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:12 -0500 (0:00:00.506) 0:00:56.442 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:12 -0500 (0:00:00.043) 0:00:56.485 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:12 -0500 (0:00:00.049) 0:00:56.535 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:12 -0500 (0:00:00.045) 0:00:56.580 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:12 -0500 (0:00:00.036) 0:00:56.617 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.390) 0:00:57.008 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.059) 0:00:57.067 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.100) 0:00:57.168 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.118) 0:00:57.286 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.167) 0:00:57.454 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.057) 0:00:57.512 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.056) 0:00:57.568 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:15 -0500 (0:00:01.851) 0:00:59.419 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:17 -0500 (0:00:01.603) 0:01:01.023 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.070) 0:01:01.093 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.068) 0:01:01.161 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.051) 0:01:01.213 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.044) 0:01:01.258 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.050) 0:01:01.308 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.039) 0:01:01.348 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.044) 0:01:01.393 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.071) 0:01:01.464 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.040) 0:01:01.505 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.047) 0:01:01.552 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.061) 0:01:01.614 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.053) 0:01:01.668 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.040) 0:01:01.708 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.582) 0:01:02.291 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpzca1wr13" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.529) 0:01:02.820 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.749) 0:01:03.570 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.042) 0:01:03.612 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.044) 0:01:03.656 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #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] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.040) 0:01:03.696 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.037) 0:01:03.733 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.429) 0:01:04.163 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.195) 0:01:04.358 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.134) 0:01:04.493 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.252) 0:01:04.745 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:21 -0500 (0:00:00.089) 0:01:04.834 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:21 -0500 (0:00:00.058) 0:01:04.893 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:21 -0500 (0:00:00.055) 0:01:04.949 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:22 -0500 (0:00:01.712) 0:01:06.661 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:24 -0500 (0:00:01.577) 0:01:08.238 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.061) 0:01:08.300 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.062) 0:01:08.363 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.072) 0:01:08.435 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.064) 0:01:08.499 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.075) 0:01:08.574 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.057) 0:01:08.632 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.062) 0:01:08.695 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.086) 0:01:08.781 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.047) 0:01:08.829 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.040) 0:01:08.869 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.042) 0:01:08.912 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.036) 0:01:08.949 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.036) 0:01:08.985 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.646) 0:01:09.632 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpqrlxgl0f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.396) 0:01:10.028 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.619) 0:01:10.648 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.094) 0:01:10.742 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.102) 0:01:10.844 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.077) 0:01:10.922 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.123) 0:01:11.045 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.625) 0:01:11.671 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.084) 0:01:11.756 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.077) 0:01:11.833 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027419.6617732, "block_size": 4096, "blocks": 0, "ctime": 1736027419.6617732, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35062, "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": 1736027419.6617732, "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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.406) 0:01:12.239 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.060) 0:01:12.300 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.113) 0:01:12.414 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.063) 0:01:12.477 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.371) 0:01:12.848 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.037) 0:01:12.886 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019514", "end": "2025-01-04 16:50:29.547860", "rc": 1, "start": "2025-01-04 16:50:29.528346" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.484) 0:01:13.370 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.038) 0:01:13.408 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.039) 0:01:13.448 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.039) 0:01:13.487 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.045) 0:01:13.532 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.067) 0:01:13.600 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.072) 0:01:13.672 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.112) 0:01:13.784 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.047) 0:01:13.832 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.080) 0:01:13.913 ****** ok: [managed-node1] => { "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.049944", "end": "2025-01-04 16:50:30.509887", "rc": 0, "start": "2025-01-04 16:50:30.459943" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.432) 0:01:14.346 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.086) 0:01:14.432 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.086) 0:01:14.518 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.120) 0:01:14.639 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.103) 0:01:14.742 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.172) 0:01:14.915 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003042", "end": "2025-01-04 16:50:31.633705", "rc": 0, "start": "2025-01-04 16:50:31.630663" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.551) 0:01:15.467 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.105) 0:01:15.573 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.080) 0:01:15.654 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.115) 0:01:15.769 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.073) 0:01:15.843 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.091) 0:01:15.935 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.044) 0:01:15.979 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.042) 0:01:16.022 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.050) 0:01:16.072 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:34 -0500 (0:00:01.984) 0:01:18.056 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:35 -0500 (0:00:01.626) 0:01:19.683 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:35 -0500 (0:00:00.061) 0:01:19.744 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.050) 0:01:19.795 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.054) 0:01:19.849 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.057) 0:01:19.907 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.048) 0:01:19.955 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.037) 0:01:19.993 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.054) 0:01:20.047 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.077) 0:01:20.125 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.090) 0:01:20.216 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.063) 0:01:20.279 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.103) 0:01:20.383 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.063) 0:01:20.446 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.082) 0:01:20.529 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:37 -0500 (0:00:00.717) 0:01:21.247 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmp27aci88l" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.552) 0:01:21.799 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.546) 0:01:22.346 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.050) 0:01:22.396 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.058) 0:01:22.455 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.042) 0:01:22.497 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.040) 0:01:22.538 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.361) 0:01:22.900 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.040) 0:01:22.941 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.062) 0:01:23.003 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.106) 0:01:23.109 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.065) 0:01:23.175 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.054) 0:01:23.229 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.056) 0:01:23.286 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:41 -0500 (0:00:01.787) 0:01:25.074 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:42 -0500 (0:00:01.645) 0:01:26.719 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.065) 0:01:26.785 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.075) 0:01:26.860 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.116) 0:01:26.976 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.079) 0:01:27.056 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.083) 0:01:27.140 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.060) 0:01:27.200 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.053) 0:01:27.254 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.098) 0:01:27.352 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.073) 0:01:27.426 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.036) 0:01:27.462 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.041) 0:01:27.504 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.040) 0:01:27.544 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.039) 0:01:27.584 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.593) 0:01:28.178 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmp_t5j35vk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.409) 0:01:28.587 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.808) 0:01:29.395 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.037) 0:01:29.433 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.038) 0:01:29.472 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #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] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.047) 0:01:29.519 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.059) 0:01:29.579 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.404) 0:01:29.983 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.061) 0:01:30.045 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.072) 0:01:30.117 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.044) 0:01:30.162 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.037) 0:01:30.200 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.036) 0:01:30.237 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:48 -0500 (0:00:01.696) 0:01:31.933 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:49 -0500 (0:00:01.507) 0:01:33.441 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.086) 0:01:33.528 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.059) 0:01:33.588 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.058) 0:01:33.646 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.059) 0:01:33.706 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.074) 0:01:33.780 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.059) 0:01:33.840 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.050) 0:01:33.890 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.080) 0:01:33.971 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.084) 0:01:34.056 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.037) 0:01:34.094 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.042) 0:01:34.136 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.038) 0:01:34.174 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.037) 0:01:34.211 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.535) 0:01:34.747 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmp3ac1khk6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:51 -0500 (0:00:00.398) 0:01:35.146 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.678) 0:01:35.824 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.064) 0:01:35.888 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.051) 0:01:35.940 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.049) 0:01:35.990 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.038) 0:01:36.028 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.389) 0:01:36.418 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.110) 0:01:36.528 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.117) 0:01:36.646 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.098) 0:01:36.745 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.071) 0:01:36.817 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.062) 0:01:36.879 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.059) 0:01:36.938 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:54 -0500 (0:00:01.785) 0:01:38.724 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:56 -0500 (0:00:01.559) 0:01:40.284 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.066) 0:01:40.350 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.066) 0:01:40.417 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.066) 0:01:40.483 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.045) 0:01:40.529 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.057) 0:01:40.587 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.050) 0:01:40.637 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.061) 0:01:40.698 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.110) 0:01:40.809 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.087) 0:01:40.896 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.066) 0:01:40.962 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.126) 0:01:41.089 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.100) 0:01:41.189 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.048) 0:01:41.237 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:58 -0500 (0:00:00.610) 0:01:41.848 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmp58kf1ats" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:58 -0500 (0:00:00.484) 0:01:42.333 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.517) 0:01:42.851 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.121) 0:01:42.973 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.093) 0:01:43.066 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.063) 0:01:43.130 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.050) 0:01:43.180 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.366) 0:01:43.547 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.097) 0:01:43.644 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.062) 0:01:43.706 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.037) 0:01:43.744 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.390) 0:01:44.134 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.069) 0:01:44.203 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019434", "end": "2025-01-04 16:51:00.841939", "rc": 1, "start": "2025-01-04 16:51:00.822505" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.507) 0:01:44.710 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.083) 0:01:44.794 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.068) 0:01:44.863 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.061) 0:01:44.924 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.096) 0:01:45.020 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.149) 0:01:45.170 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.069) 0:01:45.239 ****** skipping: [managed-node1] => (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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.068) 0:01:45.308 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.107) 0:01:45.416 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.085) 0:01:45.501 ****** ok: [managed-node1] => { "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.047082", "end": "2025-01-04 16:51:02.097882", "rc": 0, "start": "2025-01-04 16:51:02.050800" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.428) 0:01:45.930 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.102) 0:01:46.033 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.047) 0:01:46.080 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.095) 0:01:46.176 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.063) 0:01:46.239 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.057) 0:01:46.297 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002935", "end": "2025-01-04 16:51:02.844023", "rc": 0, "start": "2025-01-04 16:51:02.841088" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.400) 0:01:46.697 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.048) 0:01:46.746 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.079) 0:01:46.825 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.082) 0:01:46.908 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.088) 0:01:46.996 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.137) 0:01:47.134 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.078) 0:01:47.212 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.079) 0:01:47.292 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.048) 0:01:47.341 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:05 -0500 (0:00:01.897) 0:01:49.238 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:07 -0500 (0:00:01.636) 0:01:50.875 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.042) 0:01:50.917 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.038) 0:01:50.956 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.037) 0:01:50.993 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.035) 0:01:51.029 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.044) 0:01:51.074 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.042) 0:01:51.116 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.063) 0:01:51.180 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.224) 0:01:51.404 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.066) 0:01:51.470 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.054) 0:01:51.524 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.068) 0:01:51.592 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.061) 0:01:51.654 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.050) 0:01:51.705 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.548) 0:01:52.253 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpni0dl_km" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.388) 0:01:52.642 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.498) 0:01:53.140 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.035) 0:01:53.176 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.047) 0:01:53.223 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.061) 0:01:53.284 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.118) 0:01:53.403 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.416) 0:01:53.819 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.039) 0:01:53.858 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.062) 0:01:53.921 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.071) 0:01:53.992 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.045) 0:01:54.038 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.036) 0:01:54.075 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.037) 0:01:54.112 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:12 -0500 (0:00:01.718) 0:01:55.830 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:13 -0500 (0:00:01.510) 0:01:57.340 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.130) 0:01:57.471 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.131) 0:01:57.603 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.060) 0:01:57.664 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.069) 0:01:57.733 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.089) 0:01:57.822 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.085) 0:01:57.908 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.139) 0:01:58.047 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.101) 0:01:58.149 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.043) 0:01:58.192 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.077) 0:01:58.270 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.043) 0:01:58.313 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.035) 0:01:58.348 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.035) 0:01:58.384 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.530) 0:01:58.915 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpaex1k50i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.377) 0:01:59.292 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.738) 0:02:00.031 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.035) 0:02:00.067 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.038) 0:02:00.105 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #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] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.038) 0:02:00.143 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.034) 0:02:00.177 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.367) 0:02:00.545 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.061) 0:02:00.607 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.072) 0:02:00.679 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.047) 0:02:00.727 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:17 -0500 (0:00:00.035) 0:02:00.763 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:17 -0500 (0:00:00.035) 0:02:00.799 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:18 -0500 (0:00:01.701) 0:02:02.500 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:20 -0500 (0:00:01.497) 0:02:03.998 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.036) 0:02:04.034 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.035) 0:02:04.070 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.035) 0:02:04.105 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.034) 0:02:04.139 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.043) 0:02:04.183 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.036) 0:02:04.219 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.039) 0:02:04.259 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.071) 0:02:04.331 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.066) 0:02:04.398 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.034) 0:02:04.432 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.040) 0:02:04.472 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.035) 0:02:04.508 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.035) 0:02:04.543 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.525) 0:02:05.069 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmp0w19l962" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.383) 0:02:05.453 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.521) 0:02:05.974 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.035) 0:02:06.009 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.037) 0:02:06.047 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.037) 0:02:06.085 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.034) 0:02:06.119 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.358) 0:02:06.477 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.065) 0:02:06.543 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.058) 0:02:06.602 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.068) 0:02:06.670 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.041) 0:02:06.712 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.036) 0:02:06.748 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.052) 0:02:06.801 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:24 -0500 (0:00:01.715) 0:02:08.517 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:26 -0500 (0:00:01.457) 0:02:09.975 ****** ok: [managed-node1] => {} 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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.038) 0:02:10.013 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.035) 0:02:10.049 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.034) 0:02:10.084 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.034) 0:02:10.118 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.046) 0:02:10.165 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.047) 0:02:10.212 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.061) 0:02:10.274 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.147) 0:02:10.422 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.058) 0:02:10.480 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.054) 0:02:10.534 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.061) 0:02:10.596 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.064) 0:02:10.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:26 -0500 (0:00:00.062) 0:02:10.723 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.696) 0:02:11.419 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-491325c4g3oyl/tmpzn_aqz8m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.421) 0:02:11.841 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.623) 0:02:12.464 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.060) 0:02:12.525 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.067) 0:02:12.593 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.082) 0:02:12.675 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.095) 0:02:12.770 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.604) 0:02:13.375 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.086) 0:02:13.461 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.080) 0:02:13.541 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.044) 0:02:13.586 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.405) 0:02:13.992 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.042) 0:02:14.035 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018953", "end": "2025-01-04 16:51:30.613703", "rc": 1, "start": "2025-01-04 16:51:30.594750" } 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.432) 0:02:14.467 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.065) 0:02:14.533 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.046) 0:02:14.579 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.045) 0:02:14.625 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.044) 0:02:14.670 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.040) 0:02:14.710 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.074) 0:02:14.785 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.887418", "end": "2025-01-04 16:51:32.272769", "rc": 0, "start": "2025-01-04 16:51:31.385351" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 04 January 2025 16:51:32 -0500 (0:00:01.312) 0:02:16.098 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.043) 0:02:16.141 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.059) 0:02:16.200 ****** skipping: [managed-node1] => (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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.072) 0:02:16.273 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.068) 0:02:16.342 ****** included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.166) 0:02:16.508 ****** ok: [managed-node1] => { "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.041846", "end": "2025-01-04 16:51:33.150067", "rc": 0, "start": "2025-01-04 16:51:33.108221" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 04 January 2025 16:51:33 -0500 (0:00:00.514) 0:02:17.022 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009305", "end": "2025-01-04 16:51:33.665186", "rc": 0, "start": "2025-01-04 16:51:33.655881" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:ed:2f:33:23 brd ff:ff:ff:ff:ff:ff inet 10.31.13.235/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2460sec preferred_lft 2460sec inet6 fe80::8ff:edff:fe2f:3323/64 scope link valid_lft forever preferred_lft forever 49: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether f2:9f:20:98:51:80 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.12.1 dev eth0 proto dhcp src 10.31.13.235 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.235 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-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 04 January 2025 16:51:33 -0500 (0:00:00.482) 0:02:17.505 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.184198", "end": "2025-01-04 16:51:34.261825", "rc": 0, "start": "2025-01-04 16:51:34.077627" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3674 0 --:--:-- --:--:-- --:--:-- 3674 % 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 3880 0 --:--:-- --:--:-- --:--:-- 3880 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 04 January 2025 16:51:34 -0500 (0:00:00.564) 0:02:18.070 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.82s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-IXm/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-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the fingerprint comment in ifcfg-statebr ---------------------------- 1.64s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-IXm/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26