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-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 25 January 2025 07:49:56 -0500 (0:00:00.021) 0:00:00.021 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 25 January 2025 07:49:57 -0500 (0:00:01.004) 0:00:01.026 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 25 January 2025 07:49:57 -0500 (0:00:00.037) 0:00:01.063 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.503) 0:00:01.567 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.519) 0:00:02.086 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.066) 0:00:02.153 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.036) 0:00:02.190 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.066) 0:00:02.256 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.501) 0:00:02.758 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.023) 0:00:02.781 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.021) 0:00:02.803 ****** [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.241924", "end": "2025-01-25 07:49:59.947093", "rc": 0, "start": "2025-01-25 07:49:59.705169" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.599) 0:00:03.402 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.018) 0:00:03.421 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.018) 0:00:03.439 ****** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.665) 0:00:04.105 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.021) 0:00:04.126 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.033) 0:00:04.159 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.027) 0:00:04.187 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.098) 0:00:04.286 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.041) 0:00:04.327 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.036) 0:00:04.364 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003112", "end": "2025-01-25 07:50:01.390462", "rc": 0, "start": "2025-01-25 07:50:01.387350" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.486) 0:00:04.851 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.024) 0:00:04.876 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.021) 0:00:04.897 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.043) 0:00:04.940 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007800", "end": "2025-01-25 07:50:01.847133", "rc": 1, "start": "2025-01-25 07:50:01.839333" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.371) 0:00:05.311 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.043) 0:00:05.355 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.398) 0:00:05.754 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.038) 0:00:05.792 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.041) 0:00:05.834 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.153) 0:00:05.987 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.059) 0:00:06.047 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.030) 0:00:06.077 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.031) 0:00:06.109 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:02 -0500 (0:00:00.028) 0:00:06.138 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:04 -0500 (0:00:01.887) 0:00:08.026 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:06 -0500 (0:00:01.777) 0:00:09.803 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.074) 0:00:09.878 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.063) 0:00:09.941 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.063) 0:00:10.005 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.066) 0:00:10.071 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.082) 0:00:10.154 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.069) 0:00:10.224 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.070) 0:00:10.294 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.205) 0:00:10.500 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.044) 0:00:10.544 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.039) 0:00:10.583 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.053) 0:00:10.637 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.060) 0:00:10.698 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.041) 0:00:10.739 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:08 -0500 (0:00:00.989) 0:00:11.729 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmphvrg5aih" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:08 -0500 (0:00:00.460) 0:00:12.189 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.990) 0:00:13.180 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.046) 0:00:13.227 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.040) 0:00:13.267 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.040) 0:00:13.308 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.037) 0:00:13.345 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.599) 0:00:13.945 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.057) 0:00:14.002 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.090) 0:00:14.092 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.083) 0:00:14.176 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.058) 0:00:14.234 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809409.6791763, "block_size": 4096, "blocks": 8, "ctime": 1737809409.6791763, "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": 1737809409.6791763, "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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.611) 0:00:14.846 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.068) 0:00:14.914 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018539", "end": "2025-01-25 07:50:11.839245", "rc": 1, "start": "2025-01-25 07:50:11.820706" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.396) 0:00:15.311 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.041) 0:00:15.353 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002939", "end": "2025-01-25 07:50:12.260466", "rc": 0, "start": "2025-01-25 07:50:12.257527" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.416) 0:00:15.770 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.045) 0:00:15.816 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003252", "end": "2025-01-25 07:50:12.726141", "rc": 0, "start": "2025-01-25 07:50:12.722889" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.397) 0:00:16.213 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.053) 0:00:16.267 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.054) 0:00:16.321 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.045) 0:00:16.366 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.039) 0:00:16.406 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.044) 0:00:16.450 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.047) 0:00:16.498 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.111) 0:00:16.610 ****** 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.036879", "end": "2025-01-25 07:50:13.547440", "rc": 1, "start": "2025-01-25 07:50:13.510561" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.410) 0:00:17.020 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.076) 0:00:17.096 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.073) 0:00:17.170 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.078) 0:00:17.249 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.060) 0:00:17.309 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.060) 0:00:17.370 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003114", "end": "2025-01-25 07:50:14.274996", "rc": 0, "start": "2025-01-25 07:50:14.271882" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.398) 0:00:17.769 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.072) 0:00:17.841 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.062) 0:00:17.904 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.126) 0:00:18.030 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005621", "end": "2025-01-25 07:50:15.147977", "rc": 1, "start": "2025-01-25 07:50:15.142356" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.619) 0:00:18.650 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.108) 0:00:18.758 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.499) 0:00:19.258 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.076) 0:00:19.334 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.120) 0:00:19.454 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.096) 0:00:19.550 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.085) 0:00:19.636 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.049) 0:00:19.685 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.043) 0:00:19.728 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.052) 0:00:19.780 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:18 -0500 (0:00:01.894) 0:00:21.674 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:19 -0500 (0:00:01.567) 0:00:23.242 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.067) 0:00:23.309 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.059) 0:00:23.369 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.049) 0:00:23.419 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.044) 0:00:23.463 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.053) 0:00:23.517 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.042) 0:00:23.559 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.050) 0:00:23.610 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.107) 0:00:23.718 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.036) 0:00:23.755 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.038) 0:00:23.793 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.045) 0:00:23.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.037) 0:00:23.875 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.038) 0:00:23.914 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.549) 0:00:24.463 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmprq2h_ekd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.388) 0:00:24.852 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:21 -0500 (0:00:00.549) 0:00:25.401 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.037) 0:00:25.439 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.040) 0:00:25.480 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.039) 0:00:25.519 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.068) 0:00:25.588 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.419) 0:00:26.007 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.058) 0:00:26.066 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.120) 0:00:26.186 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.101) 0:00:26.287 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.471) 0:00:26.759 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.066) 0:00:26.825 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.109) 0:00:26.935 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.070) 0:00:27.006 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809421.9232345, "block_size": 4096, "blocks": 8, "ctime": 1737809421.9232345, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809421.9232345, "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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.548) 0:00:27.555 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.051) 0:00:27.606 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018800", "end": "2025-01-25 07:50:24.543992", "rc": 1, "start": "2025-01-25 07:50:24.525192" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.467) 0:00:28.073 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.081) 0:00:28.155 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002835", "end": "2025-01-25 07:50:25.133946", "rc": 0, "start": "2025-01-25 07:50:25.131111" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.472) 0:00:28.627 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.055) 0:00:28.682 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002921", "end": "2025-01-25 07:50:25.597733", "rc": 0, "start": "2025-01-25 07:50:25.594812" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.416) 0:00:29.099 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.060) 0:00:29.159 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.054) 0:00:29.213 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.065) 0:00:29.279 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.070) 0:00:29.349 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.063) 0:00:29.412 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.065) 0:00:29.477 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.133) 0:00:29.611 ****** 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.035718", "end": "2025-01-25 07:50:26.600903", "rc": 1, "start": "2025-01-25 07:50:26.565185" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.488) 0:00:30.099 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.079) 0:00:30.178 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.046) 0:00:30.225 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.095) 0:00:30.320 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.089) 0:00:30.409 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.093) 0:00:30.503 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003025", "end": "2025-01-25 07:50:27.498596", "rc": 0, "start": "2025-01-25 07:50:27.495571" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.493) 0:00:30.996 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.106) 0:00:31.103 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.070) 0:00:31.174 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.083) 0:00:31.257 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.127) 0:00:31.385 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.072) 0:00:31.458 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.046) 0:00:31.505 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.043) 0:00:31.548 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.051) 0:00:31.600 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:29 -0500 (0:00:01.798) 0:00:33.398 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:31 -0500 (0:00:01.477) 0:00:34.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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.037) 0:00:34.913 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.035) 0:00:34.948 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.035) 0:00:34.984 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.037) 0:00:35.021 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.044) 0:00:35.065 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.042) 0:00:35.108 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.063) 0:00:35.172 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.118) 0:00:35.290 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.062) 0:00:35.353 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.067) 0:00:35.421 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.069) 0:00:35.491 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.113) 0:00:35.604 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.059) 0:00:35.664 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.677) 0:00:36.342 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmp9al4jxo0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:33 -0500 (0:00:00.450) 0:00:36.792 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.612) 0:00:37.405 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.038) 0:00:37.443 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.040) 0:00:37.483 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.041) 0:00:37.525 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.038) 0:00:37.563 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.410) 0:00:37.974 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.046) 0:00:38.021 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.111) 0:00:38.132 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.076) 0:00:38.209 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.093) 0:00:38.302 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.062) 0:00:38.364 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:35 -0500 (0:00:00.041) 0:00:38.405 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:35 -0500 (0:00:00.047) 0:00:38.453 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:36 -0500 (0:00:01.779) 0:00:40.232 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:38 -0500 (0:00:01.563) 0:00:41.795 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.042) 0:00:41.837 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.039) 0:00:41.877 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.037) 0:00:41.915 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.038) 0:00:41.953 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.059) 0:00:42.012 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.037) 0:00:42.050 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.048) 0:00:42.098 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.104) 0:00:42.203 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.054) 0:00:42.257 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.048) 0:00:42.306 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.043) 0:00:42.349 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:39 -0500 (0:00:00.066) 0:00:42.415 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:39 -0500 (0:00:00.035) 0:00:42.451 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:39 -0500 (0:00:00.568) 0:00:43.020 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpw7n1xs_a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:40 -0500 (0:00:00.607) 0:00:43.628 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.804) 0:00:44.432 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.037) 0:00:44.470 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.039) 0:00:44.510 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.042) 0:00:44.552 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.045) 0:00:44.598 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.462) 0:00:45.060 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.168) 0:00:45.228 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.113) 0:00:45.342 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809440.8730106, "block_size": 4096, "blocks": 0, "ctime": 1737809440.8730106, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35630, "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": 1737809440.8730106, "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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.592) 0:00:45.935 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.074) 0:00:46.010 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.151) 0:00:46.161 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.075) 0:00:46.236 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809440.7133236, "block_size": 4096, "blocks": 8, "ctime": 1737809433.9232914, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809433.9232914, "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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.447) 0:00:46.684 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.061) 0:00:46.746 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018126", "end": "2025-01-25 07:50:43.759762", "rc": 1, "start": "2025-01-25 07:50:43.741636" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.521) 0:00:47.267 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.059) 0:00:47.327 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002936", "end": "2025-01-25 07:50:44.250698", "rc": 0, "start": "2025-01-25 07:50:44.247762" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.459) 0:00:47.787 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.071) 0:00:47.859 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003116", "end": "2025-01-25 07:50:44.798076", "rc": 0, "start": "2025-01-25 07:50:44.794960" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.431) 0:00:48.290 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.050) 0:00:48.341 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.043) 0:00:48.385 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:45 -0500 (0:00:00.046) 0:00:48.431 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:45 -0500 (0:00:00.053) 0:00:48.485 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:45 -0500 (0:00:00.052) 0:00:48.537 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:45 -0500 (0:00:00.058) 0:00:48.595 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:45 -0500 (0:00:00.109) 0:00:48.704 ****** 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.043039", "end": "2025-01-25 07:50:45.700479", "rc": 0, "start": "2025-01-25 07:50:45.657440" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 25 January 2025 07:50:45 -0500 (0:00:00.509) 0:00:49.214 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:45 -0500 (0:00:00.108) 0:00:49.323 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.140) 0:00:49.463 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.130) 0:00:49.594 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.095) 0:00:49.690 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.114) 0:00:49.804 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003021", "end": "2025-01-25 07:50:46.731707", "rc": 0, "start": "2025-01-25 07:50:46.728686" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.422) 0:00:50.226 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.060) 0:00:50.287 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.060) 0:00:50.347 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.113) 0:00:50.461 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.106) 0:00:50.568 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.120) 0:00:50.688 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.097) 0:00:50.786 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.047) 0:00:50.834 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.042) 0:00:50.877 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:49 -0500 (0:00:01.761) 0:00:52.638 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:50 -0500 (0:00:01.612) 0:00:54.250 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:50 -0500 (0:00:00.116) 0:00:54.367 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.070) 0:00:54.438 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.054) 0:00:54.493 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.042) 0:00:54.535 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.049) 0:00:54.585 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.038) 0:00:54.624 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.043) 0:00:54.668 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.085) 0:00:54.753 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.036) 0:00:54.790 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.042) 0:00:54.832 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.053) 0:00:54.886 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.058) 0:00:54.944 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.040) 0:00:54.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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.578) 0:00:55.563 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmplhlbyxeh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.456) 0:00:56.020 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.516) 0:00:56.536 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.056) 0:00:56.593 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.067) 0:00:56.660 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.049) 0:00:56.709 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.044) 0:00:56.753 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.388) 0:00:57.142 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.046) 0:00:57.188 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.092) 0:00:57.281 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.111) 0:00:57.392 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.068) 0:00:57.461 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.054) 0:00:57.516 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.110) 0:00:57.626 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:56 -0500 (0:00:01.981) 0:00:59.607 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:57 -0500 (0:00:01.472) 0:01:01.080 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.061) 0:01:01.142 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.082) 0:01:01.224 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.041) 0:01:01.266 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.043) 0:01:01.309 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.057) 0:01:01.367 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.040) 0:01:01.407 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.069) 0:01:01.477 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.107) 0:01:01.585 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.124) 0:01:01.709 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.108) 0:01:01.817 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.098) 0:01:01.915 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.092) 0:01:02.008 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.082) 0:01:02.091 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.918) 0:01:03.009 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpf6bz3woh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:00 -0500 (0:00:00.471) 0:01:03.481 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:00 -0500 (0:00:00.906) 0:01:04.388 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.086) 0:01:04.474 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.084) 0:01:04.559 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.044) 0:01:04.603 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.042) 0:01:04.646 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.410) 0:01:05.056 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.111) 0:01:05.168 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.095) 0:01:05.264 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.082) 0:01:05.346 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:01 -0500 (0:00:00.048) 0:01:05.395 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.037) 0:01:05.432 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.036) 0:01:05.469 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:03 -0500 (0:00:01.780) 0:01:07.250 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:05 -0500 (0:00:01.487) 0:01:08.737 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.061) 0:01:08.798 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.095) 0:01:08.894 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.056) 0:01:08.950 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.053) 0:01:09.004 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.094) 0:01:09.098 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.066) 0:01:09.164 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.064) 0:01:09.228 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.128) 0:01:09.357 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.058) 0:01:09.415 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.055) 0:01:09.470 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.062) 0:01:09.532 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.068) 0:01:09.600 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.056) 0:01:09.657 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.780) 0:01:10.438 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpam0x5xfd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.510) 0:01:10.949 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.613) 0:01:11.562 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.059) 0:01:11.622 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.065) 0:01:11.687 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.062) 0:01:11.750 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.052) 0:01:11.803 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.442) 0:01:12.245 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.125) 0:01:12.370 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.088) 0:01:12.459 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809460.76741, "block_size": 4096, "blocks": 0, "ctime": 1737809460.76741, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35761, "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": 1737809460.76741, "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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.424) 0:01:12.883 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.062) 0:01:12.946 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.105) 0:01:13.052 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.107) 0:01:13.160 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.410) 0:01:13.570 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.038) 0:01:13.609 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018168", "end": "2025-01-25 07:51:10.522451", "rc": 1, "start": "2025-01-25 07:51:10.504283" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.405) 0:01:14.014 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.058) 0:01:14.072 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.056) 0:01:14.129 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.058) 0:01:14.187 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.062) 0:01:14.250 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.059) 0:01:14.309 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.060) 0:01:14.370 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.053) 0:01:14.423 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.059) 0:01:14.483 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.110) 0:01:14.594 ****** 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.046830", "end": "2025-01-25 07:51:11.577180", "rc": 0, "start": "2025-01-25 07:51:11.530350" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.466) 0:01:15.061 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.080) 0:01:15.142 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.042) 0:01:15.184 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.081) 0:01:15.266 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.086) 0:01:15.352 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.092) 0:01:15.445 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002994", "end": "2025-01-25 07:51:12.385606", "rc": 0, "start": "2025-01-25 07:51:12.382612" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.414) 0:01:15.860 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.040) 0:01:15.900 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.040) 0:01:15.941 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.082) 0:01:16.024 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.155) 0:01:16.179 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.119) 0:01:16.298 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.073) 0:01:16.371 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.056) 0:01:16.427 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.065) 0:01:16.493 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:14 -0500 (0:00:01.853) 0:01:18.346 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:16 -0500 (0:00:01.724) 0:01:20.070 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.082) 0:01:20.153 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.077) 0:01:20.231 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.047) 0:01:20.278 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.057) 0:01:20.336 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.056) 0:01:20.392 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.044) 0:01:20.437 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.044) 0:01:20.481 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.080) 0:01:20.562 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.063) 0:01:20.625 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.090) 0:01:20.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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.086) 0:01:20.802 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.113) 0:01:20.915 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:17 -0500 (0:00:00.094) 0:01:21.009 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.712) 0:01:21.722 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmp02rbu58r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.394) 0:01:22.117 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.518) 0:01:22.636 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.062) 0:01:22.698 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.065) 0:01:22.764 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.045) 0:01:22.809 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.037) 0:01:22.846 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.430) 0:01:23.276 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.061) 0:01:23.338 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.127) 0:01:23.465 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.172) 0:01:23.638 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.069) 0:01:23.708 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.058) 0:01:23.767 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.061) 0:01:23.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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:22 -0500 (0:00:01.761) 0:01:25.590 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:23 -0500 (0:00:01.553) 0:01:27.144 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.056) 0:01:27.201 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.043) 0:01:27.244 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.049) 0:01:27.293 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.043) 0:01:27.336 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.048) 0:01:27.385 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.057) 0:01:27.442 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.073) 0:01:27.516 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.106) 0:01:27.622 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.059) 0:01:27.682 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.059) 0:01:27.741 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.097) 0:01:27.839 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.067) 0:01:27.907 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.106) 0:01:28.013 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.714) 0:01:28.728 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpquwgx9k_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.406) 0:01:29.134 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.814) 0:01:29.948 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.045) 0:01:29.994 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.055) 0:01:30.049 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.070) 0:01:30.119 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.062) 0:01:30.182 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.372) 0:01:30.554 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.064) 0:01:30.618 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.073) 0:01:30.692 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.048) 0:01:30.741 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.077) 0:01:30.818 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.040) 0:01:30.858 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:29 -0500 (0:00:01.754) 0:01:32.613 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:30 -0500 (0:00:01.546) 0:01:34.160 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.113) 0:01:34.273 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.042) 0:01:34.316 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.049) 0:01:34.365 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.053) 0:01:34.420 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.077) 0:01:34.497 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.038) 0:01:34.536 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.045) 0:01:34.581 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.074) 0:01:34.655 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.038) 0:01:34.694 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.037) 0:01:34.731 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.041) 0:01:34.773 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.035) 0:01:34.809 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.036) 0:01:34.845 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.536) 0:01:35.382 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmp5w7ji9u3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.376) 0:01:35.758 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.528) 0:01:36.286 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.037) 0:01:36.324 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.040) 0:01:36.364 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.041) 0:01:36.405 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.038) 0:01:36.444 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.369) 0:01:36.813 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.070) 0:01:36.884 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.075) 0:01:36.959 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.109) 0:01:37.068 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.045) 0:01:37.114 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.051) 0:01:37.166 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.039) 0:01:37.205 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:35 -0500 (0:00:01.752) 0:01:38.958 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:37 -0500 (0:00:01.643) 0:01:40.602 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.067) 0:01:40.670 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.055) 0:01:40.725 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.054) 0:01:40.779 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.063) 0:01:40.843 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.073) 0:01:40.916 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.089) 0:01:41.005 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.110) 0:01:41.116 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.098) 0:01:41.215 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.053) 0:01:41.268 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.042) 0:01:41.311 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.041) 0:01:41.352 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.035) 0:01:41.388 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.035) 0:01:41.424 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.801) 0:01:42.226 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpu6l6cyyg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:39 -0500 (0:00:00.439) 0:01:42.665 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.800) 0:01:43.466 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.037) 0:01:43.503 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.046) 0:01:43.549 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.076) 0:01:43.626 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.070) 0:01:43.696 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.653) 0:01:44.350 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.087) 0:01:44.437 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.077) 0:01:44.515 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.038) 0:01:44.553 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.388) 0:01:44.942 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.069) 0:01:45.011 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018501", "end": "2025-01-25 07:51:41.958204", "rc": 1, "start": "2025-01-25 07:51:41.939703" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.445) 0:01:45.457 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.066) 0:01:45.524 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.063) 0:01:45.587 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.051) 0:01:45.638 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.047) 0:01:45.686 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.051) 0:01:45.737 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.049) 0:01:45.786 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.047) 0:01:45.834 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.047) 0:01:45.882 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.135) 0:01:46.018 ****** 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.050468", "end": "2025-01-25 07:51:43.017186", "rc": 0, "start": "2025-01-25 07:51:42.966718" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.474) 0:01:46.492 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.100) 0:01:46.592 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.038) 0:01:46.631 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.091) 0:01:46.723 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.083) 0:01:46.806 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.066) 0:01:46.873 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003102", "end": "2025-01-25 07:51:43.791348", "rc": 0, "start": "2025-01-25 07:51:43.788246" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.401) 0:01:47.274 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.047) 0:01:47.322 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.044) 0:01:47.366 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.103) 0:01:47.470 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.103) 0:01:47.573 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.151) 0:01:47.725 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.078) 0:01:47.803 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.060) 0:01:47.864 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.082) 0:01:47.946 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:46 -0500 (0:00:02.037) 0:01:49.984 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:48 -0500 (0:00:01.748) 0:01:51.732 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.075) 0:01:51.808 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.091) 0:01:51.899 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.111) 0:01:52.011 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.067) 0:01:52.079 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.068) 0:01:52.148 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.074) 0:01:52.223 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.073) 0:01:52.297 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.139) 0:01:52.436 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.073) 0:01:52.510 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.072) 0:01:52.582 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.073) 0:01:52.655 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.059) 0:01:52.715 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.057) 0:01:52.773 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.630) 0:01:53.403 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmphnqo0siz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.459) 0:01:53.862 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.759) 0:01:54.622 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.052) 0:01:54.674 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.066) 0:01:54.741 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.064) 0:01:54.806 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.064) 0:01:54.870 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.455) 0:01:55.326 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.075) 0:01:55.402 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.102) 0:01:55.505 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.083) 0:01:55.588 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.054) 0:01:55.642 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.043) 0:01:55.686 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.036) 0:01:55.722 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:54 -0500 (0:00:01.751) 0:01:57.474 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:55 -0500 (0:00:01.472) 0:01:58.947 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.044) 0:01:58.991 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.095) 0:01:59.087 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.040) 0:01:59.128 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.046) 0:01:59.174 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.051) 0:01:59.226 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.040) 0:01:59.266 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.043) 0:01:59.310 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.072) 0:01:59.382 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.036) 0:01:59.418 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.036) 0:01:59.455 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.041) 0:01:59.497 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.036) 0:01:59.533 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.047) 0:01:59.581 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.559) 0:02:00.140 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpaetzk2f5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.463) 0:02:00.604 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.905) 0:02:01.509 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.048) 0:02:01.558 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.047) 0:02:01.605 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.054) 0:02:01.659 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.052) 0:02:01.712 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.437) 0:02:02.150 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.099) 0:02:02.249 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:58 -0500 (0:00:00.135) 0:02:02.384 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.092) 0:02:02.477 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.071) 0:02:02.548 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.060) 0:02:02.608 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:00 -0500 (0:00:01.754) 0:02:04.363 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:02 -0500 (0:00:01.458) 0:02:05.821 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.037) 0:02:05.859 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.035) 0:02:05.894 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.036) 0:02:05.931 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.072) 0:02:06.003 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.055) 0:02:06.059 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.056) 0:02:06.115 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.061) 0:02:06.177 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.107) 0:02:06.285 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.055) 0:02:06.340 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.057) 0:02:06.398 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.064) 0:02:06.462 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.045) 0:02:06.507 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.042) 0:02:06.550 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.569) 0:02:07.119 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpyptm53r7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.424) 0:02:07.544 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.635) 0:02:08.179 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.051) 0:02:08.231 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.045) 0:02:08.277 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.044) 0:02:08.322 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.046) 0:02:08.368 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.367) 0:02:08.735 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.100) 0:02:08.836 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.112) 0:02:08.948 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.114) 0:02:09.063 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.051) 0:02:09.114 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.044) 0:02:09.159 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.043) 0:02:09.202 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:07 -0500 (0:00:01.741) 0:02:10.944 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:09 -0500 (0:00:01.474) 0:02:12.418 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.075) 0:02:12.493 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.146) 0:02:12.639 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.097) 0:02:12.737 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.098) 0:02:12.835 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.106) 0:02:12.942 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.072) 0:02:13.014 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.068) 0:02:13.083 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.120) 0:02:13.204 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.059) 0:02:13.263 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.051) 0:02:13.314 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.047) 0:02:13.362 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.040) 0:02:13.402 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.044) 0:02:13.447 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.538) 0:02:13.986 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49246n18baije/tmpx6oe8ome" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.417) 0:02:14.403 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.513) 0:02:14.917 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.041) 0:02:14.959 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.046) 0:02:15.005 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.051) 0:02:15.057 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.055) 0:02:15.112 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.361) 0:02:15.474 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.073) 0:02:15.547 ****** included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.063) 0:02:15.611 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.037) 0:02:15.649 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.366) 0:02:16.016 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.070) 0:02:16.087 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018460", "end": "2025-01-25 07:52:13.012789", "rc": 1, "start": "2025-01-25 07:52:12.994329" } 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.423) 0:02:16.510 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.068) 0:02:16.579 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.060) 0:02:16.640 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.059) 0:02:16.700 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.089) 0:02:16.789 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.062) 0:02:16.852 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.092) 0:02:16.944 ****** [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.884088", "end": "2025-01-25 07:52:14.920997", "rc": 0, "start": "2025-01-25 07:52:14.036909" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 25 January 2025 07:52:14 -0500 (0:00:01.450) 0:02:18.395 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.040) 0:02:18.435 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.042) 0:02:18.478 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.067) 0:02:18.545 ****** 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.112) 0:02:18.658 ****** included: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.142) 0:02:18.800 ****** 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.045647", "end": "2025-01-25 07:52:15.830187", "rc": 0, "start": "2025-01-25 07:52:15.784540" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.508) 0:02:19.309 ****** 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.008967", "end": "2025-01-25 07:52:16.250978", "rc": 0, "start": "2025-01-25 07:52:16.242011" } 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 0e:7f:d1:df:63:c1 brd ff:ff:ff:ff:ff:ff inet 10.31.40.102/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2428sec preferred_lft 2428sec inet6 fe80::c7f:d1ff:fedf:63c1/64 scope link valid_lft forever preferred_lft forever 52: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether be:8f:fc:77:cc:1d 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.40.1 dev eth0 proto dhcp src 10.31.40.102 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.102 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-TSd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.466) 0:02:19.775 ****** 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.166383", "end": "2025-01-25 07:52:16.942838", "rc": 0, "start": "2025-01-25 07:52:16.776455" } STDOUT: CHECK DNS AND CONNECTIVITY 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 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5865 0 --:--:-- --:--:-- --:--:-- 5865 % 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 3506 0 --:--:-- --:--:-- --:--:-- 3548 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 25 January 2025 07:52:16 -0500 (0:00:00.620) 0:02:20.396 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-TSd/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-TSd/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-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-TSd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26