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-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 14 December 2024 07:53:33 -0500 (0:00:00.018) 0:00:00.018 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 14 December 2024 07:53:34 -0500 (0:00:01.023) 0:00:01.041 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 14 December 2024 07:53:34 -0500 (0:00:00.057) 0:00:01.099 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 14 December 2024 07:53:34 -0500 (0:00:00.522) 0:00:01.621 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.619) 0:00:02.240 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.037) 0:00:02.278 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.039) 0:00:02.317 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.086) 0:00:02.403 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.578) 0:00:02.982 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.020) 0:00:03.003 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.025) 0:00:03.028 ***** [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.235886", "end": "2024-12-14 07:53:36.855372", "rc": 0, "start": "2024-12-14 07:53:36.619486" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.583) 0:00:03.611 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.017) 0:00:03.628 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.017) 0:00:03.646 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.624) 0:00:04.270 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.018) 0:00:04.289 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.028) 0:00:04.318 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.017) 0:00:04.335 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.064) 0:00:04.400 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.031) 0:00:04.432 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.037) 0:00:04.469 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002944", "end": "2024-12-14 07:53:38.069509", "rc": 0, "start": "2024-12-14 07:53:38.066565" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.350) 0:00:04.820 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.019) 0:00:04.840 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.017) 0:00:04.858 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.034) 0:00:04.893 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007895", "end": "2024-12-14 07:53:38.484027", "rc": 1, "start": "2024-12-14 07:53:38.476132" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.340) 0:00:05.234 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.025) 0:00:05.259 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.348) 0:00:05.608 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.022) 0:00:05.630 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.043) 0:00:05.673 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:53:39 -0500 (0:00:00.119) 0:00:05.792 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:53:39 -0500 (0:00:00.049) 0:00:05.842 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:53:39 -0500 (0:00:00.028) 0:00:05.870 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:53:39 -0500 (0:00:00.029) 0:00:05.900 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:53:39 -0500 (0:00:00.039) 0:00:05.940 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:53:41 -0500 (0:00:01.942) 0:00:07.883 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:53:43 -0500 (0:00:01.865) 0:00:09.749 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.040) 0:00:09.789 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.048) 0:00:09.838 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.037) 0:00:09.875 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.035) 0:00:09.910 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.048) 0:00:09.959 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.053) 0:00:10.013 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.058) 0:00:10.072 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.115) 0:00:10.187 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.052) 0:00:10.239 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.087) 0:00:10.327 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.067) 0:00:10.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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.055) 0:00:10.450 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:53:43 -0500 (0:00:00.100) 0:00:10.551 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:53:44 -0500 (0:00:00.901) 0:00:11.452 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmphqrch9u_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:53:45 -0500 (0:00:00.370) 0:00:11.823 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.878) 0:00:12.701 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.060) 0:00:12.761 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.050) 0:00:12.812 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.102) 0:00:12.914 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.056) 0:00:12.970 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.544) 0:00:13.515 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.052) 0:00:13.568 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.110) 0:00:13.678 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.103) 0:00:13.782 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.059) 0:00:13.841 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180825.8526466, "block_size": 4096, "blocks": 8, "ctime": 1734180825.8526466, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4177724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734180825.8526466, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.435) 0:00:14.277 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.060) 0:00:14.337 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018616", "end": "2024-12-14 07:53:48.004140", "rc": 1, "start": "2024-12-14 07:53:47.985524" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:53:48 -0500 (0:00:00.478) 0:00:14.816 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:53:48 -0500 (0:00:00.098) 0:00:14.915 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004571", "end": "2024-12-14 07:53:49.720710", "rc": 0, "start": "2024-12-14 07:53:48.716139" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:53:49 -0500 (0:00:01.589) 0:00:16.504 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:53:49 -0500 (0:00:00.064) 0:00:16.569 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002844", "end": "2024-12-14 07:53:50.231721", "rc": 0, "start": "2024-12-14 07:53:50.228877" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.450) 0:00:17.020 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.057) 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.042) 0:00:17.120 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.053) 0:00:17.174 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.040) 0:00:17.215 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.055) 0:00:17.270 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.073) 0:00:17.343 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.099) 0:00:17.442 ***** 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.036589", "end": "2024-12-14 07:53:51.075582", "rc": 1, "start": "2024-12-14 07:53:51.038993" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.406) 0:00:17.849 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.148) 0:00:17.998 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.040) 0:00:18.039 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.080) 0:00:18.119 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.119) 0:00:18.239 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.131) 0:00:18.370 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003592", "end": "2024-12-14 07:53:52.071009", "rc": 0, "start": "2024-12-14 07:53:52.067417" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.482) 0:00:18.853 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.061) 0:00:18.914 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.061) 0:00:18.976 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.098) 0:00:19.074 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006127", "end": "2024-12-14 07:53:52.690355", "rc": 1, "start": "2024-12-14 07:53:52.684228" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.420) 0:00:19.495 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.096) 0:00:19.591 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.379) 0:00:19.971 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.040) 0:00:20.011 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.066) 0:00:20.077 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.089) 0:00:20.167 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.115) 0:00:20.283 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.078) 0:00:20.362 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.077) 0:00:20.439 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.056) 0:00:20.495 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:53:55 -0500 (0:00:01.695) 0:00:22.190 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:53:56 -0500 (0:00:01.499) 0:00:23.689 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.111) 0:00:23.801 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.106) 0:00:23.908 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.062) 0:00:23.971 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.068) 0:00:24.039 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.149) 0:00:24.188 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.113) 0:00:24.302 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.078) 0:00:24.381 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.118) 0:00:24.499 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.071) 0:00:24.571 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.059) 0:00:24.630 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.047) 0:00:24.678 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:53:58 -0500 (0:00:00.043) 0:00:24.721 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:53:58 -0500 (0:00:00.044) 0:00:24.766 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:53:58 -0500 (0:00:00.581) 0:00:25.347 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmp6aq3x_44" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.415) 0:00:25.763 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.522) 0:00:26.286 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.053) 0:00:26.339 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.058) 0:00:26.397 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.110) 0:00:26.508 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.053) 0:00:26.561 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.399) 0:00:26.961 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.042) 0:00:27.003 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.093) 0:00:27.097 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.064) 0:00:27.161 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.387) 0:00:27.549 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.058) 0:00:27.607 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:01 -0500 (0:00:00.131) 0:00:27.739 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:01 -0500 (0:00:00.066) 0:00:27.805 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180839.4966118, "block_size": 4096, "blocks": 8, "ctime": 1734180839.4966118, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734180839.4966118, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:01 -0500 (0:00:00.503) 0:00:28.308 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:01 -0500 (0:00:00.039) 0:00:28.348 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019188", "end": "2024-12-14 07:54:01.957028", "rc": 1, "start": "2024-12-14 07:54:01.937840" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:02 -0500 (0:00:00.399) 0:00:28.748 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:02 -0500 (0:00:00.066) 0:00:28.814 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002907", "end": "2024-12-14 07:54:02.416454", "rc": 0, "start": "2024-12-14 07:54:02.413547" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:02 -0500 (0:00:00.374) 0:00:29.189 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:02 -0500 (0:00:00.043) 0:00:29.232 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004466", "end": "2024-12-14 07:54:03.827285", "rc": 0, "start": "2024-12-14 07:54:02.822819" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:03 -0500 (0:00:01.366) 0:00:30.599 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.045) 0:00:30.645 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.041) 0:00:30.686 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.043) 0:00:30.730 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.124) 0:00:30.854 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.036) 0:00:30.891 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.049) 0:00:30.941 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.109) 0:00:31.051 ***** 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.034636", "end": "2024-12-14 07:54:04.725875", "rc": 1, "start": "2024-12-14 07:54:04.691239" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.488) 0:00:31.540 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.100) 0:00:31.640 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:05 -0500 (0:00:00.110) 0:00:31.751 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:05 -0500 (0:00:00.169) 0:00:31.920 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:05 -0500 (0:00:00.100) 0:00:32.020 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:05 -0500 (0:00:00.095) 0:00:32.116 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002995", "end": "2024-12-14 07:54:05.764582", "rc": 0, "start": "2024-12-14 07:54:05.761587" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:05 -0500 (0:00:00.543) 0:00:32.659 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.079) 0:00:32.739 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.057) 0:00:32.796 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.117) 0:00:32.914 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.142) 0:00:33.056 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.081) 0:00:33.138 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.055) 0:00:33.194 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.040) 0:00:33.235 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:06 -0500 (0:00:00.034) 0:00:33.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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:08 -0500 (0:00:01.681) 0:00:34.950 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:09 -0500 (0:00:01.615) 0:00:36.566 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:09 -0500 (0:00:00.067) 0:00:36.633 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:09 -0500 (0:00:00.068) 0:00:36.701 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.055) 0:00:36.756 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.055) 0:00:36.812 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.072) 0:00:36.884 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.053) 0:00:36.938 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.064) 0:00:37.003 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.095) 0:00:37.098 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.132) 0:00:37.231 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.060) 0:00:37.292 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.070) 0:00:37.362 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.041) 0:00:37.404 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.040) 0:00:37.444 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:11 -0500 (0:00:00.562) 0:00:38.007 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpkkyut6bn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:11 -0500 (0:00:00.405) 0:00:38.412 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.479) 0:00:38.892 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.055) 0:00:38.948 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.057) 0:00:39.005 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.048) 0:00:39.054 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.039) 0:00:39.093 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.383) 0:00:39.476 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.064) 0:00:39.541 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.112) 0:00:39.653 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.146) 0:00:39.799 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.140) 0:00:39.940 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.069) 0:00:40.009 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.044) 0:00:40.053 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.054) 0:00:40.108 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:15 -0500 (0:00:01.654) 0:00:41.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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:16 -0500 (0:00:01.455) 0:00:43.218 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.037) 0:00:43.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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.041) 0:00:43.298 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.064) 0:00:43.362 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.052) 0:00:43.415 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.073) 0:00:43.488 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.048) 0:00:43.537 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.056) 0:00:43.594 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.152) 0:00:43.747 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.044) 0:00:43.791 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.040) 0:00:43.832 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.040) 0:00:43.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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.037) 0:00:43.910 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.036) 0:00:43.947 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.692) 0:00:44.639 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpgd1ndatl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.449) 0:00:45.089 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.742) 0:00:45.831 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.039) 0:00:45.870 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.054) 0:00:45.925 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.062) 0:00:45.988 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.115) 0:00:46.103 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.437) 0:00:46.540 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.078) 0:00:46.618 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.059) 0:00:46.678 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180858.9616609, "block_size": 4096, "blocks": 0, "ctime": 1734180858.9616609, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34888, "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": 1734180858.9616609, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.353) 0:00:47.032 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.038) 0:00:47.070 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.061) 0:00:47.132 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.036) 0:00:47.168 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180858.8065631, "block_size": 4096, "blocks": 8, "ctime": 1734180852.1155798, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4177724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734180852.1155798, "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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.355) 0:00:47.524 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.042) 0:00:47.566 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018532", "end": "2024-12-14 07:54:21.204505", "rc": 1, "start": "2024-12-14 07:54:21.185973" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:21 -0500 (0:00:00.430) 0:00:47.996 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:21 -0500 (0:00:00.074) 0:00:48.071 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002759", "end": "2024-12-14 07:54:21.726038", "rc": 0, "start": "2024-12-14 07:54:21.723279" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:21 -0500 (0:00:00.424) 0:00:48.496 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:21 -0500 (0:00:00.053) 0:00:48.550 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002783", "end": "2024-12-14 07:54:22.137065", "rc": 0, "start": "2024-12-14 07:54:22.134282" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.357) 0:00:48.907 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.044) 0:00:48.951 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.041) 0:00:48.992 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.039) 0:00:49.032 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.036) 0:00:49.068 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.033) 0:00:49.101 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.038) 0:00:49.139 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.065) 0:00:49.205 ***** 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.043915", "end": "2024-12-14 07:54:22.873430", "rc": 0, "start": "2024-12-14 07:54:22.829515" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.537) 0:00:49.743 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.119) 0:00:49.863 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.067) 0:00:49.930 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.187) 0:00:50.117 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.178) 0:00:50.295 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.097) 0:00:50.393 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2024-12-14 07:54:24.149320", "rc": 0, "start": "2024-12-14 07:54:24.146089" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.553) 0:00:50.946 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.049) 0:00:50.996 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.043) 0:00:51.039 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.119) 0:00:51.159 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.167) 0:00:51.326 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.113) 0:00:51.439 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.096) 0:00:51.536 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.078) 0:00:51.614 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.068) 0:00:51.683 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:26 -0500 (0:00:01.659) 0:00:53.343 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:28 -0500 (0:00:01.682) 0:00:55.025 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.071) 0:00:55.097 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.074) 0:00:55.171 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.063) 0:00:55.235 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.066) 0:00:55.302 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.069) 0:00:55.372 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.057) 0:00:55.429 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.069) 0:00:55.499 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.092) 0:00:55.592 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.059) 0:00:55.651 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.061) 0:00:55.712 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.061) 0:00:55.773 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.060) 0:00:55.834 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.056) 0:00:55.891 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.621) 0:00:56.512 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpj7bo3png" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.415) 0:00:56.928 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.505) 0:00:57.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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.045) 0:00:57.479 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.041) 0:00:57.521 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.041) 0:00:57.563 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.035) 0:00:57.598 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.370) 0:00:57.968 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.038) 0:00:58.006 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.065) 0:00:58.072 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.084) 0:00:58.157 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.106) 0:00:58.263 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.062) 0:00:58.326 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.059) 0:00:58.386 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:33 -0500 (0:00:01.684) 0:01:00.070 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:34 -0500 (0:00:01.503) 0:01:01.573 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:34 -0500 (0:00:00.041) 0:01:01.615 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:34 -0500 (0:00:00.048) 0:01:01.663 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.052) 0:01:01.716 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.068) 0:01:01.785 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.132) 0:01:01.917 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.072) 0:01:01.989 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.069) 0:01:02.059 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.144) 0:01:02.204 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.112) 0:01:02.317 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.136) 0:01:02.454 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.113) 0:01:02.567 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.079) 0:01:02.647 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.074) 0:01:02.722 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.627) 0:01:03.349 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpiawsw2dr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.406) 0:01:03.755 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.728) 0:01:04.484 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.038) 0:01:04.523 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.045) 0:01:04.569 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.057) 0:01:04.627 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.051) 0:01:04.679 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.393) 0:01:05.072 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.068) 0:01:05.140 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.089) 0:01:05.230 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.180) 0:01:05.411 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.070) 0:01:05.481 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.047) 0:01:05.528 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.039) 0:01:05.568 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:40 -0500 (0:00:01.720) 0:01:07.289 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:42 -0500 (0:00:01.619) 0:01:08.908 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.094) 0:01:09.002 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.040) 0:01:09.043 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.037) 0:01:09.080 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.037) 0:01:09.117 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.042) 0:01:09.160 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.040) 0:01:09.201 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.054) 0:01:09.255 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.114) 0:01:09.370 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.056) 0:01:09.427 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.057) 0:01:09.484 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.060) 0:01:09.544 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.075) 0:01:09.620 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:42 -0500 (0:00:00.061) 0:01:09.681 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:43 -0500 (0:00:00.570) 0:01:10.252 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpw3267qyb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:43 -0500 (0:00:00.421) 0:01:10.673 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.493) 0:01:11.167 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.037) 0:01:11.205 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.038) 0:01:11.243 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.039) 0:01:11.283 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.044) 0:01:11.328 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.370) 0:01:11.698 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.111) 0:01:11.810 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.095) 0:01:11.906 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180877.6232655, "block_size": 4096, "blocks": 0, "ctime": 1734180877.6232655, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35019, "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": 1734180877.6232655, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.432) 0:01:12.338 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.109) 0:01:12.448 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.098) 0:01:12.546 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.045) 0:01:12.591 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.406) 0:01:12.998 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.053) 0:01:13.051 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018675", "end": "2024-12-14 07:54:46.941573", "rc": 1, "start": "2024-12-14 07:54:46.922898" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.669) 0:01:13.720 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.047) 0:01:13.768 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.049) 0:01:13.817 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.037) 0:01:13.854 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.037) 0:01:13.892 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.044) 0:01:13.937 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.047) 0:01:13.985 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.056) 0:01:14.041 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.072) 0:01:14.114 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.262) 0:01:14.376 ***** 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.042072", "end": "2024-12-14 07:54:48.067150", "rc": 0, "start": "2024-12-14 07:54:48.025078" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.511) 0:01:14.887 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.096) 0:01:14.984 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.083) 0:01:15.067 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.133) 0:01:15.201 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.143) 0:01:15.344 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.135) 0:01:15.480 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002939", "end": "2024-12-14 07:54:49.129602", "rc": 0, "start": "2024-12-14 07:54:49.126663" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.426) 0:01:15.907 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.054) 0:01:15.961 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.058) 0:01:16.019 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.167) 0:01:16.187 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.075) 0:01:16.262 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.085) 0:01:16.347 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.049) 0:01:16.397 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.037) 0:01:16.435 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.039) 0:01:16.474 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:51 -0500 (0:00:01.686) 0:01:18.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 : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:52 -0500 (0:00:01.529) 0:01:19.690 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.062) 0:01:19.752 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.096) 0:01:19.848 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.093) 0:01:19.942 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.089) 0:01:20.031 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.076) 0:01:20.107 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.061) 0:01:20.169 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.079) 0:01:20.248 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.101) 0:01:20.350 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.047) 0:01:20.397 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.045) 0:01:20.443 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.048) 0:01:20.491 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.070) 0:01:20.561 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.035) 0:01:20.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.549) 0:01:21.146 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpeecehxid" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.419) 0:01:21.565 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.621) 0:01:22.187 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.100) 0:01:22.287 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.098) 0:01:22.385 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.078) 0:01:22.464 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.063) 0:01:22.528 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.404) 0:01:22.932 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.063) 0:01:22.996 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.129) 0:01:23.126 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.084) 0:01:23.210 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.044) 0:01:23.255 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.036) 0:01:23.292 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.037) 0:01:23.329 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:58 -0500 (0:00:01.638) 0:01:24.967 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:59 -0500 (0:00:01.475) 0:01:26.443 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.061) 0:01:26.505 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.045) 0:01:26.550 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.041) 0:01:26.592 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.043) 0:01:26.635 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.055) 0:01:26.690 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.040) 0:01:26.731 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.042) 0:01:26.774 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.075) 0:01:26.849 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.043) 0:01:26.892 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.052) 0:01:26.944 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.063) 0:01:27.008 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.058) 0:01:27.066 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.065) 0:01:27.132 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:01 -0500 (0:00:00.660) 0:01:27.792 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpv3_nyjyw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:01 -0500 (0:00:00.367) 0:01:28.160 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.758) 0:01:28.918 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.059) 0:01:28.978 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.061) 0:01:29.040 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.060) 0:01:29.101 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.079) 0:01:29.180 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.625) 0:01:29.805 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.066) 0:01:29.872 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.103) 0:01:29.976 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.044) 0:01:30.020 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.036) 0:01:30.056 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.035) 0:01:30.092 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:05 -0500 (0:00:01.712) 0:01:31.804 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:06 -0500 (0:00:01.484) 0:01:33.289 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.038) 0:01:33.327 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.037) 0:01:33.365 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.039) 0:01:33.404 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.041) 0:01:33.445 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.078) 0:01:33.523 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.045) 0:01:33.569 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.048) 0:01:33.618 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.090) 0:01:33.709 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.038) 0:01:33.747 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.046) 0:01:33.794 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.051) 0:01:33.845 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.036) 0:01:33.881 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.037) 0:01:33.919 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.561) 0:01:34.480 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmp4_diz_ww" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.374) 0:01:34.855 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.563) 0:01:35.419 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.057) 0:01:35.476 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.064) 0:01:35.541 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.079) 0:01:35.620 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.059) 0:01:35.680 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.367) 0:01:36.047 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.066) 0:01:36.114 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.101) 0:01:36.215 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.159) 0:01:36.375 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.077) 0:01:36.452 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.063) 0:01:36.516 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.043) 0:01:36.559 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:11 -0500 (0:00:01.683) 0:01:38.243 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:13 -0500 (0:00:01.523) 0:01:39.766 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.058) 0:01:39.825 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.059) 0:01:39.885 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.061) 0:01:39.946 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.058) 0:01:40.005 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.064) 0:01:40.069 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.042) 0:01:40.112 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.045) 0:01:40.157 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.112) 0:01:40.270 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.050) 0:01:40.320 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.037) 0:01:40.358 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.051) 0:01:40.409 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.041) 0:01:40.451 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:13 -0500 (0:00:00.037) 0:01:40.488 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.673) 0:01:41.162 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpm4jzvqll" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.514) 0:01:41.676 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.594) 0:01:42.271 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.066) 0:01:42.337 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.099) 0:01:42.436 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.075) 0:01:42.511 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.116) 0:01:42.628 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.479) 0:01:43.107 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.066) 0:01:43.174 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.084) 0:01:43.259 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.070) 0:01:43.329 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.570) 0:01:43.899 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.046) 0:01:43.946 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018256", "end": "2024-12-14 07:55:17.633616", "rc": 1, "start": "2024-12-14 07:55:17.615360" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.459) 0:01:44.405 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.038) 0:01:44.444 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.043) 0:01:44.488 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.058) 0:01:44.546 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.057) 0:01:44.604 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.065) 0:01:44.669 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.058) 0:01:44.728 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.063) 0:01:44.791 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.065) 0:01:44.857 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.117) 0:01:44.975 ***** 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.044920", "end": "2024-12-14 07:55:18.626395", "rc": 0, "start": "2024-12-14 07:55:18.581475" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.427) 0:01:45.403 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.126) 0:01:45.530 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.073) 0:01:45.603 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.102) 0:01:45.706 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.078) 0:01:45.784 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.089) 0:01:45.874 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003354", "end": "2024-12-14 07:55:19.563554", "rc": 0, "start": "2024-12-14 07:55:19.560200" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.595) 0:01:46.469 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.087) 0:01:46.557 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.065) 0:01:46.623 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.135) 0:01:46.759 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.098) 0:01:46.858 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.146) 0:01:47.004 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.074) 0:01:47.078 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.066) 0:01:47.145 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.070) 0:01:47.215 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:22 -0500 (0:00:01.719) 0:01:48.935 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:23 -0500 (0:00:01.518) 0:01:50.453 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.037) 0:01:50.491 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.036) 0:01:50.528 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.034) 0:01:50.562 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.036) 0:01:50.598 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.043) 0:01:50.641 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.034) 0:01:50.676 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.042) 0:01:50.718 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.072) 0:01:50.791 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.041) 0:01:50.832 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.047) 0:01:50.880 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.064) 0:01:50.945 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.041) 0:01:50.986 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.044) 0:01:51.030 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.663) 0:01:51.694 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpxejfvivr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.439) 0:01:52.133 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.537) 0:01:52.671 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.060) 0:01:52.731 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.057) 0:01:52.789 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.063) 0:01:52.852 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.055) 0:01:52.908 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.381) 0:01:53.290 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.039) 0:01:53.330 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.062) 0:01:53.392 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.089) 0:01:53.482 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.116) 0:01:53.599 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.058) 0:01:53.657 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.055) 0:01:53.713 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:28 -0500 (0:00:01.650) 0:01:55.364 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:30 -0500 (0:00:01.460) 0:01:56.824 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.043) 0:01:56.867 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.036) 0:01:56.903 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.035) 0:01:56.939 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.038) 0:01:56.977 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.052) 0:01:57.030 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.073) 0:01:57.103 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.065) 0:01:57.168 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.115) 0:01:57.283 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.062) 0:01:57.346 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.079) 0:01:57.426 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.068) 0:01:57.494 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.056) 0:01:57.550 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.069) 0:01:57.620 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.625) 0:01:58.246 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpp9457ns6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.465) 0:01:58.712 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.866) 0:01:59.579 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.047) 0:01:59.626 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.056) 0:01:59.683 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.058) 0:01:59.742 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.059) 0:01:59.801 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.362) 0:02:00.163 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.085) 0:02:00.249 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.112) 0:02:00.361 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.071) 0:02:00.433 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.058) 0:02:00.491 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.107) 0:02:00.598 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:35 -0500 (0:00:01.713) 0:02:02.312 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:37 -0500 (0:00:01.547) 0:02:03.859 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.102) 0:02:03.962 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.054) 0:02:04.017 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.056) 0:02:04.073 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.059) 0:02:04.132 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.109) 0:02:04.242 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.060) 0:02:04.302 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.065) 0:02:04.367 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.114) 0:02:04.482 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.058) 0:02:04.541 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.057) 0:02:04.598 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.090) 0:02:04.689 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.057) 0:02:04.747 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.053) 0:02:04.801 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.574) 0:02:05.375 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmppdq9xzvn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.450) 0:02:05.825 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.513) 0:02:06.338 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.036) 0:02:06.375 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.039) 0:02:06.415 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.042) 0:02:06.457 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.050) 0:02:06.507 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.433) 0:02:06.941 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.087) 0:02:07.028 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.076) 0:02:07.104 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.075) 0:02:07.179 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.043) 0:02:07.223 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.070) 0:02:07.294 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:40 -0500 (0:00:00.038) 0:02:07.333 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:42 -0500 (0:00:01.618) 0:02:08.952 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:43 -0500 (0:00:01.490) 0:02:10.442 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.098) 0:02:10.540 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.056) 0:02:10.597 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.060) 0:02:10.657 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.044) 0:02:10.702 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.055) 0:02:10.757 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.049) 0:02:10.807 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.051) 0:02:10.858 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.079) 0:02:10.938 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.038) 0:02:10.977 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.038) 0:02:11.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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.042) 0:02:11.058 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.039) 0:02:11.097 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:44 -0500 (0:00:00.038) 0:02:11.135 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.586) 0:02:11.722 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49285d5_jsffr/tmpmlga67h6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:45 -0500 (0:00:00.456) 0:02:12.178 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.629) 0:02:12.808 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.077) 0:02:12.885 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.061) 0:02:12.946 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.061) 0:02:13.008 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.062) 0:02:13.071 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.428) 0:02:13.499 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:55:46 -0500 (0:00:00.134) 0:02:13.634 ***** included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.115) 0:02:13.750 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.064) 0:02:13.815 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.427) 0:02:14.243 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:55:47 -0500 (0:00:00.057) 0:02:14.301 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018005", "end": "2024-12-14 07:55:47.937025", "rc": 1, "start": "2024-12-14 07:55:47.919020" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.472) 0:02:14.773 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.075) 0:02:14.848 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.052) 0:02:14.901 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.050) 0:02:14.952 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.062) 0:02:15.014 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.080) 0:02:15.095 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 14 December 2024 07:55:48 -0500 (0:00:00.066) 0:02:15.162 ***** [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.878668", "end": "2024-12-14 07:55:49.675714", "rc": 0, "start": "2024-12-14 07:55:48.797046" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 14 December 2024 07:55:49 -0500 (0:00:01.285) 0:02:16.447 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.048) 0:02:16.496 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.063) 0:02:16.559 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:55:49 -0500 (0:00:00.116) 0:02:16.676 ***** 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.061) 0:02:16.737 ***** included: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-d1H/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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.235) 0:02:16.973 ***** 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.044085", "end": "2024-12-14 07:55:50.906359", "rc": 0, "start": "2024-12-14 07:55:50.862274" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 14 December 2024 07:55:50 -0500 (0:00:00.701) 0:02:17.674 ***** 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.008054", "end": "2024-12-14 07:55:51.264588", "rc": 0, "start": "2024-12-14 07:55:51.256534" } 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:f3:6e:ff:25 brd ff:ff:ff:ff:ff:ff inet 10.31.14.119/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2718sec preferred_lft 2718sec inet6 fe80::8ff:f3ff:fe6e:ff25/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 52:04:44:42:b5:ee 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.119 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.119 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-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 14 December 2024 07:55:51 -0500 (0:00:00.391) 0:02:18.065 ***** 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.336360", "end": "2024-12-14 07:55:52.021326", "rc": 0, "start": "2024-12-14 07:55:51.684966" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 12708 0 --:--:-- --:--:-- --:--:-- 12708 % 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 1310 0 --:--:-- --:--:-- --:--:-- 1310 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 14 December 2024 07:55:52 -0500 (0:00:00.704) 0:02:18.770 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.87s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the ansible_managed comment in ifcfg-statebr ------------------------ 1.59s /tmp/collections-d1H/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49