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-fvA/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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 05 October 2024 08:58:58 -0400 (0:00:00.030) 0:00:00.030 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 05 October 2024 08:58:59 -0400 (0:00:01.135) 0:00:01.165 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 05 October 2024 08:58:59 -0400 (0:00:00.062) 0:00:01.228 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.567) 0:00:01.795 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.540) 0:00:02.336 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 05 October 2024 08:59:00 -0400 (0:00:00.060) 0:00:02.396 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.077) 0:00:02.474 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.107) 0:00:02.581 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.599) 0:00:03.181 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.030) 0:00:03.211 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 05 October 2024 08:59:01 -0400 (0:00:00.032) 0:00:03.244 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.235892", "end": "2024-10-05 08:59:02.400471", "rc": 0, "start": "2024-10-05 08:59:02.164579" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.626) 0:00:03.871 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.017) 0:00:03.889 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 05 October 2024 08:59:02 -0400 (0:00:00.023) 0:00:03.913 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.668) 0:00:04.582 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.018) 0:00:04.600 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.029) 0:00:04.630 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.020) 0:00:04.651 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.061) 0:00:04.712 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.025) 0:00:04.738 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.023) 0:00:04.761 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002797", "end": "2024-10-05 08:59:03.635320", "rc": 0, "start": "2024-10-05 08:59:03.632523" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.357) 0:00:05.118 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.033) 0:00:05.151 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.039) 0:00:05.191 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 08:59:03 -0400 (0:00:00.059) 0:00:05.251 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007800", "end": "2024-10-05 08:59:04.148050", "rc": 1, "start": "2024-10-05 08:59:04.140250" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.368) 0:00:05.619 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.027) 0:00:05.646 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.347) 0:00:05.994 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.025) 0:00:06.019 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.041) 0:00:06.061 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.107) 0:00:06.168 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.038) 0:00:06.206 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.020) 0:00:06.227 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.022) 0:00:06.250 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:04 -0400 (0:00:00.019) 0:00:06.269 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:06 -0400 (0:00:01.663) 0:00:07.932 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:08 -0400 (0:00:02.135) 0:00:10.067 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.086) 0:00:10.154 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.067) 0:00:10.222 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.058) 0:00:10.281 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.057) 0:00:10.338 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:08 -0400 (0:00:00.058) 0:00:10.397 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.043) 0:00:10.440 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.043) 0:00:10.483 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.081) 0:00:10.565 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.060) 0:00:10.625 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.054) 0:00:10.679 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.094) 0:00:10.774 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.050) 0:00:10.824 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:09 -0400 (0:00:00.055) 0:00:10.880 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.924) 0:00:11.804 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmp5b4e5511" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:10 -0400 (0:00:00.410) 0:00:12.215 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.861) 0:00:13.076 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.069) 0:00:13.145 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.063) 0:00:13.209 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.063) 0:00:13.273 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:11 -0400 (0:00:00.064) 0:00:13.337 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.547) 0:00:13.885 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.055) 0:00:13.940 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.096) 0:00:14.037 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.117) 0:00:14.155 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:12 -0400 (0:00:00.049) 0:00:14.204 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133151.5395014, "block_size": 4096, "blocks": 8, "ctime": 1728133151.5395014, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301245, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133151.5395014, "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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.376) 0:00:14.581 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.050) 0:00:14.631 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017324", "end": "2024-10-05 08:59:13.552816", "rc": 1, "start": "2024-10-05 08:59:13.535492" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.421) 0:00:15.053 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:13 -0400 (0:00:00.048) 0:00:15.102 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004124", "end": "2024-10-05 08:59:14.989986", "rc": 0, "start": "2024-10-05 08:59:13.985862" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:15 -0400 (0:00:01.404) 0:00:16.506 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.084) 0:00:16.591 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002922", "end": "2024-10-05 08:59:15.539768", "rc": 0, "start": "2024-10-05 08:59:15.536846" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.438) 0:00:17.030 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.046) 0:00:17.077 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.050) 0:00:17.128 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.068) 0:00:17.196 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.065) 0:00:17.262 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.067) 0:00:17.330 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:15 -0400 (0:00:00.060) 0:00:17.391 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.120) 0:00:17.511 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034910", "end": "2024-10-05 08:59:16.438879", "rc": 1, "start": "2024-10-05 08:59:16.403969" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.415) 0:00:17.927 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.074) 0:00:18.002 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.103) 0:00:18.105 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:16 -0400 (0:00:00.165) 0:00:18.271 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.198) 0:00:18.469 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.121) 0:00:18.590 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003084", "end": "2024-10-05 08:59:17.564013", "rc": 0, "start": "2024-10-05 08:59:17.560929" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.526) 0:00:19.117 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.064) 0:00:19.181 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.058) 0:00:19.239 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 08:59:17 -0400 (0:00:00.092) 0:00:19.332 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004986", "end": "2024-10-05 08:59:18.215119", "rc": 1, "start": "2024-10-05 08:59:18.210133" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.389) 0:00:19.721 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.150) 0:00:19.872 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:18 -0400 (0:00:00.537) 0:00:20.409 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.061) 0:00:20.471 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.127) 0:00:20.599 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.130) 0:00:20.729 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.116) 0:00:20.846 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.069) 0:00:20.915 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.049) 0:00:20.964 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:19 -0400 (0:00:00.044) 0:00:21.009 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:21 -0400 (0:00:01.584) 0:00:22.593 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:22 -0400 (0:00:01.465) 0:00:24.059 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.039) 0:00:24.099 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.038) 0:00:24.138 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.038) 0:00:24.176 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.037) 0:00:24.214 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.048) 0:00:24.262 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.068) 0:00:24.331 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:22 -0400 (0:00:00.056) 0:00:24.387 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.116) 0:00:24.504 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.111) 0:00:24.615 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.059) 0:00:24.675 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.069) 0:00:24.744 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.060) 0:00:24.804 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:23 -0400 (0:00:00.081) 0:00:24.885 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.712) 0:00:25.597 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpbd1usf72" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:24 -0400 (0:00:00.402) 0:00:26.000 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:25 -0400 (0:00:00.562) 0:00:26.563 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:25 -0400 (0:00:00.062) 0:00:26.626 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:25 -0400 (0:00:00.103) 0:00:26.729 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:25 -0400 (0:00:00.121) 0:00:26.850 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:25 -0400 (0:00:00.125) 0:00:26.975 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.544) 0:00:27.520 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.067) 0:00:27.587 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.114) 0:00:27.701 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.066) 0:00:27.768 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.404) 0:00:28.173 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.091) 0:00:28.265 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:26 -0400 (0:00:00.116) 0:00:28.381 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.088) 0:00:28.469 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133165.0415633, "block_size": 4096, "blocks": 8, "ctime": 1728133165.0415633, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133165.0415633, "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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.420) 0:00:28.890 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.071) 0:00:28.962 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016729", "end": "2024-10-05 08:59:27.932480", "rc": 1, "start": "2024-10-05 08:59:27.915751" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:27 -0400 (0:00:00.456) 0:00:29.418 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.100) 0:00:29.518 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002565", "end": "2024-10-05 08:59:28.495390", "rc": 0, "start": "2024-10-05 08:59:28.492825" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.496) 0:00:30.015 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:28 -0400 (0:00:00.082) 0:00:30.098 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003582", "end": "2024-10-05 08:59:30.008117", "rc": 0, "start": "2024-10-05 08:59:29.004535" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:30 -0400 (0:00:01.430) 0:00:31.529 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.086) 0:00:31.615 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.077) 0:00:31.693 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.106) 0:00:31.799 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.100) 0:00:31.899 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.066) 0:00:31.966 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.077) 0:00:32.043 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:30 -0400 (0:00:00.122) 0:00:32.166 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034410", "end": "2024-10-05 08:59:31.093955", "rc": 1, "start": "2024-10-05 08:59:31.059545" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.435) 0:00:32.602 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.087) 0:00:32.690 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.054) 0:00:32.744 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.140) 0:00:32.884 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.104) 0:00:32.989 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:31 -0400 (0:00:00.100) 0:00:33.089 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003007", "end": "2024-10-05 08:59:32.152824", "rc": 0, "start": "2024-10-05 08:59:32.149817" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.581) 0:00:33.670 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.064) 0:00:33.735 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.064) 0:00:33.799 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.119) 0:00:33.918 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.155) 0:00:34.074 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.073) 0:00:34.147 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.045) 0:00:34.193 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.037) 0:00:34.231 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:32 -0400 (0:00:00.036) 0:00:34.267 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:34 -0400 (0:00:01.580) 0:00:35.848 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:35 -0400 (0:00:01.460) 0:00:37.309 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:35 -0400 (0:00:00.040) 0:00:37.350 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:35 -0400 (0:00:00.044) 0:00:37.394 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.059) 0:00:37.454 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.064) 0:00:37.519 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.082) 0:00:37.601 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.086) 0:00:37.688 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.068) 0:00:37.756 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.181) 0:00:37.937 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.089) 0:00:38.027 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.058) 0:00:38.085 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.051) 0:00:38.137 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.044) 0:00:38.181 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:36 -0400 (0:00:00.084) 0:00:38.266 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.626) 0:00:38.892 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmp0ul_wkac" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:37 -0400 (0:00:00.444) 0:00:39.337 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:38 -0400 (0:00:00.623) 0:00:39.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:38 -0400 (0:00:00.090) 0:00:40.051 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:38 -0400 (0:00:00.052) 0:00:40.104 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:38 -0400 (0:00:00.064) 0:00:40.168 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:38 -0400 (0:00:00.054) 0:00:40.222 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.357) 0:00:40.580 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.040) 0:00:40.620 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.066) 0:00:40.686 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.109) 0:00:40.795 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.072) 0:00:40.868 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.046) 0:00:40.914 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.038) 0:00:40.953 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:39 -0400 (0:00:00.038) 0:00:40.992 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:41 -0400 (0:00:01.544) 0:00:42.537 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:42 -0400 (0:00:01.561) 0:00:44.098 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:42 -0400 (0:00:00.134) 0:00:44.233 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:42 -0400 (0:00:00.112) 0:00:44.346 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.084) 0:00:44.431 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.109) 0:00:44.540 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.070) 0:00:44.611 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.077) 0:00:44.688 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.058) 0:00:44.747 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.106) 0:00:44.853 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.066) 0:00:44.919 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.064) 0:00:44.983 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.069) 0:00:45.053 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.079) 0:00:45.132 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:43 -0400 (0:00:00.141) 0:00:45.274 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:44 -0400 (0:00:00.622) 0:00:45.897 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmppajh8rjx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:44 -0400 (0:00:00.418) 0:00:46.315 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:45 -0400 (0:00:01.007) 0:00:47.323 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:45 -0400 (0:00:00.074) 0:00:47.398 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.086) 0:00:47.485 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.078) 0:00:47.564 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.065) 0:00:47.630 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.425) 0:00:48.055 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.094) 0:00:48.149 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 08:59:46 -0400 (0:00:00.159) 0:00:48.309 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133185.6912067, "block_size": 4096, "blocks": 0, "ctime": 1728133185.6912067, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34918, "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": 1728133185.6912067, "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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 08:59:47 -0400 (0:00:00.453) 0:00:48.763 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 08:59:47 -0400 (0:00:00.082) 0:00:48.845 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 08:59:47 -0400 (0:00:00.174) 0:00:49.019 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 08:59:47 -0400 (0:00:00.115) 0:00:49.135 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133185.5336647, "block_size": 4096, "blocks": 8, "ctime": 1728133178.398629, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301245, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133178.398629, "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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.535) 0:00:49.670 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.047) 0:00:49.718 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017406", "end": "2024-10-05 08:59:48.634875", "rc": 1, "start": "2024-10-05 08:59:48.617469" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.416) 0:00:50.134 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 08:59:48 -0400 (0:00:00.044) 0:00:50.179 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002875", "end": "2024-10-05 08:59:49.057757", "rc": 0, "start": "2024-10-05 08:59:49.054882" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 08:59:49 -0400 (0:00:00.392) 0:00:50.571 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 08:59:49 -0400 (0:00:00.088) 0:00:50.660 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004371", "end": "2024-10-05 08:59:50.577143", "rc": 0, "start": "2024-10-05 08:59:49.572772" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 08:59:50 -0400 (0:00:01.408) 0:00:52.069 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.047) 0:00:52.117 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.046) 0:00:52.163 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.058) 0:00:52.221 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.070) 0:00:52.291 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.059) 0:00:52.351 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 08:59:50 -0400 (0:00:00.066) 0:00:52.417 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.119) 0:00:52.536 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041069", "end": "2024-10-05 08:59:51.583559", "rc": 0, "start": "2024-10-05 08:59:51.542490" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.576) 0:00:53.112 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.103) 0:00:53.215 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 08:59:51 -0400 (0:00:00.111) 0:00:53.327 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.121) 0:00:53.449 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.098) 0:00:53.547 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.094) 0:00:53.642 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002901", "end": "2024-10-05 08:59:52.563979", "rc": 0, "start": "2024-10-05 08:59:52.561078" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.410) 0:00:54.052 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.040) 0:00:54.093 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.040) 0:00:54.134 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.074) 0:00:54.209 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.088) 0:00:54.297 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:52 -0400 (0:00:00.089) 0:00:54.387 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.122) 0:00:54.509 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.062) 0:00:54.572 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 08:59:53 -0400 (0:00:00.042) 0:00:54.614 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 08:59:54 -0400 (0:00:01.617) 0:00:56.231 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 08:59:56 -0400 (0:00:01.510) 0:00:57.742 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.048) 0:00:57.790 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.072) 0:00:57.863 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.038) 0:00:57.901 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.050) 0:00:57.952 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.047) 0:00:57.999 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.039) 0:00:58.038 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.051) 0:00:58.090 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.116) 0:00:58.206 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.067) 0:00:58.274 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.053) 0:00:58.328 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 08:59:56 -0400 (0:00:00.067) 0:00:58.395 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 08:59:57 -0400 (0:00:00.049) 0:00:58.445 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 08:59:57 -0400 (0:00:00.057) 0:00:58.502 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 08:59:57 -0400 (0:00:00.573) 0:00:59.076 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpadt0ciac" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 08:59:58 -0400 (0:00:00.402) 0:00:59.479 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 08:59:58 -0400 (0:00:00.676) 0:01:00.155 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 08:59:58 -0400 (0:00:00.067) 0:01:00.223 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 08:59:58 -0400 (0:00:00.081) 0:01:00.304 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 08:59:58 -0400 (0:00:00.064) 0:01:00.369 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.062) 0:01:00.431 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.546) 0:01:00.977 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.072) 0:01:01.050 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.137) 0:01:01.187 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.132) 0:01:01.319 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 08:59:59 -0400 (0:00:00.076) 0:01:01.396 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:00 -0400 (0:00:00.060) 0:01:01.457 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:00 -0400 (0:00:00.061) 0:01:01.519 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:01 -0400 (0:00:01.637) 0:01:03.157 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:03 -0400 (0:00:01.606) 0:01:04.763 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.041) 0:01:04.805 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.038) 0:01:04.844 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.047) 0:01:04.891 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.054) 0:01:04.945 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.099) 0:01:05.045 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.045) 0:01:05.091 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.056) 0:01:05.147 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.099) 0:01:05.247 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.041) 0:01:05.288 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.046) 0:01:05.335 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.045) 0:01:05.380 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:03 -0400 (0:00:00.039) 0:01:05.420 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:04 -0400 (0:00:00.038) 0:01:05.458 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:04 -0400 (0:00:00.543) 0:01:06.001 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpe4_p_frn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:04 -0400 (0:00:00.415) 0:01:06.417 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:05 -0400 (0:00:00.954) 0:01:07.371 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:06 -0400 (0:00:00.104) 0:01:07.476 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:06 -0400 (0:00:00.062) 0:01:07.538 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:06 -0400 (0:00:00.060) 0:01:07.598 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:06 -0400 (0:00:00.065) 0:01:07.664 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:00:06 -0400 (0:00:00.552) 0:01:08.216 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 09:00:06 -0400 (0:00:00.103) 0:01:08.320 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:06 -0400 (0:00:00.097) 0:01:08.417 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.080) 0:01:08.498 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.048) 0:01:08.547 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.038) 0:01:08.586 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:07 -0400 (0:00:00.044) 0:01:08.630 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:09 -0400 (0:00:01.811) 0:01:10.442 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:10 -0400 (0:00:01.478) 0:01:11.920 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.069) 0:01:11.990 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.060) 0:01:12.050 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.065) 0:01:12.115 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.043) 0:01:12.159 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.093) 0:01:12.252 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.045) 0:01:12.297 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:10 -0400 (0:00:00.044) 0:01:12.342 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.078) 0:01:12.421 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.039) 0:01:12.460 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.044) 0:01:12.505 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.080) 0:01:12.585 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.055) 0:01:12.641 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.046) 0:01:12.688 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.623) 0:01:13.311 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmptg0enakn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:12 -0400 (0:00:00.542) 0:01:13.854 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:13 -0400 (0:00:00.659) 0:01:14.513 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:13 -0400 (0:00:00.077) 0:01:14.591 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:13 -0400 (0:00:00.187) 0:01:14.778 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:13 -0400 (0:00:00.067) 0:01:14.845 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:13 -0400 (0:00:00.050) 0:01:14.895 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:00:13 -0400 (0:00:00.379) 0:01:15.275 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 09:00:13 -0400 (0:00:00.117) 0:01:15.392 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.126) 0:01:15.519 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728133205.7117672, "block_size": 4096, "blocks": 0, "ctime": 1728133205.7117672, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35049, "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": 1728133205.7117672, "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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.462) 0:01:15.982 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.057) 0:01:16.039 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.129) 0:01:16.168 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.105) 0:01:16.273 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.446) 0:01:16.720 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.122) 0:01:16.842 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018202", "end": "2024-10-05 09:00:15.882532", "rc": 1, "start": "2024-10-05 09:00:15.864330" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.529) 0:01:17.372 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.043) 0:01:17.415 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.052) 0:01:17.467 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.064) 0:01:17.532 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.086) 0:01:17.619 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.069) 0:01:17.689 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.057) 0:01:17.746 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.067) 0:01:17.814 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.060) 0:01:17.875 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:00:16 -0400 (0:00:00.077) 0:01:17.952 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044482", "end": "2024-10-05 09:00:16.918745", "rc": 0, "start": "2024-10-05 09:00:16.874263" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.501) 0:01:18.453 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.198) 0:01:18.652 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.066) 0:01:18.718 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.133) 0:01:18.852 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.073) 0:01:18.925 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.073) 0:01:18.999 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003241", "end": "2024-10-05 09:00:17.880562", "rc": 0, "start": "2024-10-05 09:00:17.877321" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.426) 0:01:19.425 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.081) 0:01:19.507 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.104) 0:01:19.612 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.163) 0:01:19.776 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.115) 0:01:19.891 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.169) 0:01:20.061 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.056) 0:01:20.117 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.044) 0:01:20.162 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.044) 0:01:20.207 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:20 -0400 (0:00:01.663) 0:01:21.871 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:21 -0400 (0:00:01.520) 0:01:23.391 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.072) 0:01:23.464 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.064) 0:01:23.529 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.051) 0:01:23.580 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.042) 0:01:23.623 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.046) 0:01:23.669 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.050) 0:01:23.719 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.062) 0:01:23.782 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.108) 0:01:23.891 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.057) 0:01:23.948 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.067) 0:01:24.016 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.082) 0:01:24.099 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.059) 0:01:24.158 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.061) 0:01:24.220 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.657) 0:01:24.877 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmp5zi19a8b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.521) 0:01:25.398 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.597) 0:01:25.996 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.060) 0:01:26.056 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.064) 0:01:26.121 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.076) 0:01:26.198 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.057) 0:01:26.256 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.391) 0:01:26.647 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.066) 0:01:26.714 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.106) 0:01:26.820 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.117) 0:01:26.938 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.073) 0:01:27.011 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.111) 0:01:27.123 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.060) 0:01:27.183 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:27 -0400 (0:00:01.578) 0:01:28.762 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:28 -0400 (0:00:01.548) 0:01:30.310 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:28 -0400 (0:00:00.061) 0:01:30.372 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.058) 0:01:30.431 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.059) 0:01:30.490 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.059) 0:01:30.550 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.067) 0:01:30.617 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.062) 0:01:30.680 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.070) 0:01:30.750 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.112) 0:01:30.863 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.060) 0:01:30.924 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.062) 0:01:30.986 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.065) 0:01:31.051 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.061) 0:01:31.113 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:29 -0400 (0:00:00.048) 0:01:31.161 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.640) 0:01:31.802 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpjho5qqdw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:30 -0400 (0:00:00.530) 0:01:32.333 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:31 -0400 (0:00:01.043) 0:01:33.376 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:32 -0400 (0:00:00.117) 0:01:33.494 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:32 -0400 (0:00:00.117) 0:01:33.612 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:32 -0400 (0:00:00.080) 0:01:33.692 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:32 -0400 (0:00:00.088) 0:01:33.781 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 09:00:32 -0400 (0:00:00.463) 0:01:34.244 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:32 -0400 (0:00:00.064) 0:01:34.308 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:32 -0400 (0:00:00.073) 0:01:34.382 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:33 -0400 (0:00:00.053) 0:01:34.436 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:33 -0400 (0:00:00.118) 0:01:34.554 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:33 -0400 (0:00:00.055) 0:01:34.610 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:34 -0400 (0:00:01.581) 0:01:36.191 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:36 -0400 (0:00:01.545) 0:01:37.737 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.077) 0:01:37.815 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.050) 0:01:37.866 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.108) 0:01:37.974 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.048) 0:01:38.022 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.045) 0:01:38.067 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.039) 0:01:38.107 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.052) 0:01:38.159 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.099) 0:01:38.258 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.051) 0:01:38.310 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:36 -0400 (0:00:00.058) 0:01:38.369 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:37 -0400 (0:00:00.093) 0:01:38.463 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:37 -0400 (0:00:00.059) 0:01:38.523 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:37 -0400 (0:00:00.059) 0:01:38.582 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:37 -0400 (0:00:00.661) 0:01:39.244 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpxksniqoj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:38 -0400 (0:00:00.477) 0:01:39.721 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.894) 0:01:40.616 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.097) 0:01:40.713 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.115) 0:01:40.829 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.079) 0:01:40.908 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.074) 0:01:40.983 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.431) 0:01:41.415 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.080) 0:01:41.495 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.090) 0:01:41.586 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.076) 0:01:41.662 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.046) 0:01:41.708 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.045) 0:01:41.754 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.156) 0:01:41.910 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:42 -0400 (0:00:01.689) 0:01:43.600 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:43 -0400 (0:00:01.594) 0:01:45.194 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.061) 0:01:45.256 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.063) 0:01:45.320 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.107) 0:01:45.427 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.047) 0:01:45.475 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.053) 0:01:45.528 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.039) 0:01:45.567 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.045) 0:01:45.612 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.085) 0:01:45.698 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.067) 0:01:45.765 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.057) 0:01:45.823 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.049) 0:01:45.873 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.047) 0:01:45.920 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.046) 0:01:45.966 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:45 -0400 (0:00:00.549) 0:01:46.516 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpz7smhdve" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:45 -0400 (0:00:00.371) 0:01:46.887 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.546) 0:01:47.434 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.059) 0:01:47.493 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.074) 0:01:47.568 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.063) 0:01:47.632 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.067) 0:01:47.699 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.419) 0:01:48.119 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.076) 0:01:48.195 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.065) 0:01:48.261 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.039) 0:01:48.300 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.396) 0:01:48.696 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.041) 0:01:48.738 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018553", "end": "2024-10-05 09:00:47.640858", "rc": 1, "start": "2024-10-05 09:00:47.622305" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.406) 0:01:49.144 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.058) 0:01:49.203 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.081) 0:01:49.285 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.068) 0:01:49.353 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.101) 0:01:49.455 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.087) 0:01:49.542 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.096) 0:01:49.639 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.076) 0:01:49.715 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.060) 0:01:49.775 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.096) 0:01:49.872 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042022", "end": "2024-10-05 09:00:48.796902", "rc": 0, "start": "2024-10-05 09:00:48.754880" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.442) 0:01:50.315 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.099) 0:01:50.414 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.110) 0:01:50.524 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.098) 0:01:50.622 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.067) 0:01:50.690 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.059) 0:01:50.750 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002841", "end": "2024-10-05 09:00:49.626358", "rc": 0, "start": "2024-10-05 09:00:49.623517" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.388) 0:01:51.138 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.062) 0:01:51.201 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.070) 0:01:51.271 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.118) 0:01:51.390 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.101) 0:01:51.492 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.111) 0:01:51.603 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.123) 0:01:51.726 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.060) 0:01:51.786 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.060) 0:01:51.846 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:52 -0400 (0:00:01.687) 0:01:53.534 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:00:53 -0400 (0:00:01.667) 0:01:55.202 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.089) 0:01:55.291 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.037) 0:01:55.329 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.038) 0:01:55.367 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.041) 0:01:55.409 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.052) 0:01:55.461 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.040) 0:01:55.501 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.045) 0:01:55.547 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.094) 0:01:55.641 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.066) 0:01:55.708 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.073) 0:01:55.781 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.078) 0:01:55.860 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.060) 0:01:55.921 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.061) 0:01:55.982 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.580) 0:01:56.563 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpxcn0xg3c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.471) 0:01:57.034 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.533) 0:01:57.568 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.054) 0:01:57.623 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.047) 0:01:57.670 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.048) 0:01:57.719 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.047) 0:01:57.767 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.356) 0:01:58.123 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.041) 0:01:58.165 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.075) 0:01:58.240 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.077) 0:01:58.317 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.046) 0:01:58.364 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:00:56 -0400 (0:00:00.039) 0:01:58.403 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.077) 0:01:58.481 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:00:58 -0400 (0:00:01.549) 0:02:00.031 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:01:00 -0400 (0:00:01.449) 0:02:01.481 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.099) 0:02:01.580 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.065) 0:02:01.646 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.068) 0:02:01.714 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.063) 0:02:01.778 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.050) 0:02:01.829 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.048) 0:02:01.877 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.053) 0:02:01.931 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.077) 0:02:02.008 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.038) 0:02:02.047 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.039) 0:02:02.086 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.043) 0:02:02.130 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.037) 0:02:02.168 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.045) 0:02:02.213 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.594) 0:02:02.807 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmppxvl__mz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.483) 0:02:03.291 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.848) 0:02:04.139 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.038) 0:02:04.178 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.041) 0:02:04.219 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.040) 0:02:04.259 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.036) 0:02:04.296 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.363) 0:02:04.659 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.072) 0:02:04.732 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.071) 0:02:04.803 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.047) 0:02:04.851 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.094) 0:02:04.946 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.050) 0:02:04.996 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:01:05 -0400 (0:00:01.600) 0:02:06.596 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:01:06 -0400 (0:00:01.501) 0:02:08.098 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.080) 0:02:08.178 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.056) 0:02:08.235 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.076) 0:02:08.312 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.063) 0:02:08.375 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.069) 0:02:08.444 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.060) 0:02:08.505 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.063) 0:02:08.568 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.125) 0:02:08.694 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.063) 0:02:08.757 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.073) 0:02:08.831 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.098) 0:02:08.930 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.054) 0:02:08.985 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.043) 0:02:09.028 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:01:08 -0400 (0:00:00.728) 0:02:09.756 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpj5z10bqt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:01:08 -0400 (0:00:00.579) 0:02:10.336 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.698) 0:02:11.034 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.088) 0:02:11.122 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.053) 0:02:11.176 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.055) 0:02:11.232 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.045) 0:02:11.277 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.422) 0:02:11.700 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.120) 0:02:11.821 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.086) 0:02:11.907 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.083) 0:02:11.991 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.047) 0:02:12.038 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.053) 0:02:12.092 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.094) 0:02:12.186 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:01:12 -0400 (0:00:01.718) 0:02:13.904 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:01:13 -0400 (0:00:01.464) 0:02:15.369 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:01:13 -0400 (0:00:00.048) 0:02:15.417 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.049) 0:02:15.467 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.046) 0:02:15.513 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.040) 0:02:15.554 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.105) 0:02:15.660 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.038) 0:02:15.698 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.043) 0:02:15.742 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.072) 0:02:15.815 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.037) 0:02:15.853 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.037) 0:02:15.890 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.042) 0:02:15.932 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.039) 0:02:15.972 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:01:14 -0400 (0:00:00.038) 0:02:16.010 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:01:15 -0400 (0:00:00.554) 0:02:16.564 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49236n1kedob6/tmpnzy73uxs" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:01:15 -0400 (0:00:00.443) 0:02:17.008 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:01:16 -0400 (0:00:00.860) 0:02:17.868 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:01:16 -0400 (0:00:00.092) 0:02:17.960 ****** ok: [managed-node2] => { "__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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:01:16 -0400 (0:00:00.062) 0:02:18.022 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #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-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:01:16 -0400 (0:00:00.066) 0:02:18.089 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:01:16 -0400 (0:00:00.064) 0:02:18.153 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.425) 0:02:18.578 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.092) 0:02:18.671 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.066) 0:02:18.737 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.039) 0:02:18.777 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.428) 0:02:19.205 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:01:17 -0400 (0:00:00.068) 0:02:19.274 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017549", "end": "2024-10-05 09:01:18.177251", "rc": 1, "start": "2024-10-05 09:01:18.159702" } 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.465) 0:02:19.739 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.062) 0:02:19.802 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.126) 0:02:19.929 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.061) 0:02:19.990 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.064) 0:02:20.055 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.078) 0:02:20.133 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 05 October 2024 09:01:18 -0400 (0:00:00.107) 0:02:20.241 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.874522", "end": "2024-10-05 09:01:20.075127", "rc": 0, "start": "2024-10-05 09:01:19.200605" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 05 October 2024 09:01:20 -0400 (0:00:01.335) 0:02:21.576 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.051) 0:02:21.628 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.065) 0:02:21.693 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.082) 0:02:21.775 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.078) 0:02:21.854 ****** included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.102) 0:02:21.956 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046106", "end": "2024-10-05 09:01:20.883978", "rc": 0, "start": "2024-10-05 09:01:20.837872" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 05 October 2024 09:01:20 -0400 (0:00:00.416) 0:02:22.373 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008237", "end": "2024-10-05 09:01:21.252991", "rc": 0, "start": "2024-10-05 09:01:21.244754" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:dc:62:59:cd brd ff:ff:ff:ff:ff:ff inet 10.31.14.194/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2717sec preferred_lft 2717sec inet6 fe80::8ff:dcff:fe62:59cd/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 06:80:c6:d0:0c:ea brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.194 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.194 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-fvA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 05 October 2024 09:01:21 -0400 (0:00:00.370) 0:02:22.743 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.233476", "end": "2024-10-05 09:01:21.860162", "rc": 0, "start": "2024-10-05 09:01:21.626686" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 3112 0 --:--:-- --:--:-- --:--:-- 3112 % 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 2575 0 --:--:-- --:--:-- --:--:-- 2598 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 05 October 2024 09:01:21 -0400 (0:00:00.596) 0:02:23.339 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.14s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-fvA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26