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_nm.yml ************************************************** 2 plays in /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Tuesday 30 July 2024 14:04:42 -0400 (0:00:00.018) 0:00:00.018 ********** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Tuesday 30 July 2024 14:04:43 -0400 (0:00:00.936) 0:00:00.954 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 30 July 2024 14:04:43 -0400 (0:00:00.035) 0:00:00.990 ********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 30 July 2024 14:04:44 -0400 (0:00:00.505) 0:00:01.495 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 30 July 2024 14:04:44 -0400 (0:00:00.457) 0:00:01.953 ********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 30 July 2024 14:04:44 -0400 (0:00:00.031) 0:00:01.984 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 30 July 2024 14:04:44 -0400 (0:00:00.027) 0:00:02.012 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 30 July 2024 14:04:44 -0400 (0:00:00.050) 0:00:02.062 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Tuesday 30 July 2024 14:04:45 -0400 (0:00:00.428) 0:00:02.491 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Tuesday 30 July 2024 14:04:45 -0400 (0:00:00.017) 0:00:02.508 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Tuesday 30 July 2024 14:04:45 -0400 (0:00:00.018) 0:00:02.527 ********** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242662", "end": "2024-07-30 14:04:45.873426", "rc": 0, "start": "2024-07-30 14:04:45.630764" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Tuesday 30 July 2024 14:04:45 -0400 (0:00:00.598) 0:00:03.125 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Tuesday 30 July 2024 14:04:45 -0400 (0:00:00.015) 0:00:03.141 ********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 30 July 2024 14:04:45 -0400 (0:00:00.017) 0:00:03.158 ********** ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 30 July 2024 14:04:46 -0400 (0:00:00.648) 0:00:03.806 ********** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 30 July 2024 14:04:46 -0400 (0:00:00.017) 0:00:03.824 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 14:04:46 -0400 (0:00:00.025) 0:00:03.850 ********** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 14:04:46 -0400 (0:00:00.017) 0:00:03.867 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:04:46 -0400 (0:00:00.054) 0:00:03.921 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:04:46 -0400 (0:00:00.025) 0:00:03.947 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:04:46 -0400 (0:00:00.021) 0:00:03.968 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002832", "end": "2024-07-30 14:04:47.070260", "rc": 0, "start": "2024-07-30 14:04:47.067428" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.351) 0:00:04.320 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.019) 0:00:04.340 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.017) 0:00:04.357 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.032) 0:00:04.390 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006667", "end": "2024-07-30 14:04:47.495376", "rc": 1, "start": "2024-07-30 14:04:47.488709" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.353) 0:00:04.744 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.023) 0:00:04.767 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.354) 0:00:05.122 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.021) 0:00:05.143 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 14:04:47 -0400 (0:00:00.027) 0:00:05.171 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:04:48 -0400 (0:00:00.093) 0:00:05.264 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:04:48 -0400 (0:00:00.033) 0:00:05.297 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:04:48 -0400 (0:00:00.018) 0:00:05.315 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:04:48 -0400 (0:00:00.018) 0:00:05.334 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:04:48 -0400 (0:00:00.016) 0:00:05.350 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:04:49 -0400 (0:00:01.723) 0:00:07.073 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:04:51 -0400 (0:00:01.712) 0:00:08.786 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.036) 0:00:08.823 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.032) 0:00:08.855 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.035) 0:00:08.891 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.034) 0:00:08.926 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.040) 0:00:08.966 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.036) 0:00:09.002 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.067) 0:00:09.070 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.066) 0:00:09.136 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:04:51 -0400 (0:00:00.033) 0:00:09.169 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:04:52 -0400 (0:00:00.033) 0:00:09.203 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:04:52 -0400 (0:00:00.041) 0:00:09.244 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:04:52 -0400 (0:00:00.721) 0:00:09.966 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:04:52 -0400 (0:00:00.041) 0:00:10.008 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:04:52 -0400 (0:00:00.032) 0:00:10.040 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:04:52 -0400 (0:00:00.035) 0:00:10.076 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d3ead9e-f3ab-4192-b885-c4a612b08798 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:04:53 -0400 (0:00:00.766) 0:00:10.842 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:04:53 -0400 (0:00:00.032) 0:00:10.875 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d3ead9e-f3ab-4192-b885-c4a612b08798" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:04:53 -0400 (0:00:00.063) 0:00:10.938 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d3ead9e-f3ab-4192-b885-c4a612b08798\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d3ead9e-f3ab-4192-b885-c4a612b08798" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:04:53 -0400 (0:00:00.035) 0:00:10.974 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:04:53 -0400 (0:00:00.032) 0:00:11.006 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 14:04:54 -0400 (0:00:00.440) 0:00:11.447 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d3ead9e-f3ab-4192-b885-c4a612b08798\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d3ead9e-f3ab-4192-b885-c4a612b08798" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:04:54 -0400 (0:00:00.034) 0:00:11.481 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 July 2024 14:04:54 -0400 (0:00:00.064) 0:00:11.546 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 14:04:54 -0400 (0:00:00.060) 0:00:11.606 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 14:04:54 -0400 (0:00:00.036) 0:00:11.643 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362693.5613823, "block_size": 4096, "blocks": 8, "ctime": 1722362693.5073826, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722362693.5073826, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:04:54 -0400 (0:00:00.374) 0:00:12.017 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 14:04:54 -0400 (0:00:00.035) 0:00:12.053 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021700", "end": "2024-07-30 14:04:55.180703", "rc": 0, "start": "2024-07-30 14:04:55.159003" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.424) 0:00:12.477 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.037) 0:00:12.515 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.037) 0:00:12.552 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.037) 0:00:12.590 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.035) 0:00:12.625 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.037) 0:00:12.663 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.036) 0:00:12.700 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.037) 0:00:12.737 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.037) 0:00:12.774 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.065) 0:00:12.840 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:04:55 -0400 (0:00:00.056) 0:00:12.896 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362693.509668, "block_size": 4096, "blocks": 0, "ctime": 1722362693.509668, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62937, "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": 1722362693.509668, "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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.374) 0:00:13.270 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.039) 0:00:13.310 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.068) 0:00:13.378 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.063) 0:00:13.442 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.062228", "end": "2024-07-30 14:04:56.608574", "rc": 1, "start": "2024-07-30 14:04:56.546346" } STDOUT: Connection 'statebr' (1d3ead9e-f3ab-4192-b885-c4a612b08798) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.432) 0:00:13.875 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.057) 0:00:13.933 ********** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.037) 0:00:13.971 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.070) 0:00:14.041 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.056) 0:00:14.098 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:04:56 -0400 (0:00:00.052) 0:00:14.150 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002973", "end": "2024-07-30 14:04:57.256583", "rc": 0, "start": "2024-07-30 14:04:57.253610" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:04:57 -0400 (0:00:00.372) 0:00:14.523 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:04:57 -0400 (0:00:00.037) 0:00:14.560 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 14:04:57 -0400 (0:00:00.066) 0:00:14.627 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 30 July 2024 14:04:57 -0400 (0:00:00.064) 0:00:14.692 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005933", "end": "2024-07-30 14:04:57.801727", "rc": 1, "start": "2024-07-30 14:04:57.795794" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 14:04:57 -0400 (0:00:00.376) 0:00:15.068 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:04:57 -0400 (0:00:00.055) 0:00:15.124 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.373) 0:00:15.498 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.037) 0:00:15.536 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.062) 0:00:15.598 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.068) 0:00:15.667 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.099) 0:00:15.767 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.042) 0:00:15.809 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.035) 0:00:15.844 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:04:58 -0400 (0:00:00.033) 0:00:15.878 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:00 -0400 (0:00:01.644) 0:00:17.522 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:01 -0400 (0:00:01.531) 0:00:19.054 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:01 -0400 (0:00:00.038) 0:00:19.092 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:01 -0400 (0:00:00.035) 0:00:19.128 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:01 -0400 (0:00:00.033) 0:00:19.161 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:01 -0400 (0:00:00.035) 0:00:19.197 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.041) 0:00:19.238 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.034) 0:00:19.272 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.043) 0:00:19.316 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.068) 0:00:19.384 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.032) 0:00:19.417 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.033) 0:00:19.451 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.039) 0:00:19.490 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.579) 0:00:20.070 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.040) 0:00:20.110 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.036) 0:00:20.147 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:02 -0400 (0:00:00.034) 0:00:20.181 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26401b86-b362-4915-ba77-055637b4435d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:03 -0400 (0:00:00.548) 0:00:20.730 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:03 -0400 (0:00:00.034) 0:00:20.765 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26401b86-b362-4915-ba77-055637b4435d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:03 -0400 (0:00:00.039) 0:00:20.804 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26401b86-b362-4915-ba77-055637b4435d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26401b86-b362-4915-ba77-055637b4435d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:03 -0400 (0:00:00.036) 0:00:20.841 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:03 -0400 (0:00:00.033) 0:00:20.874 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.369) 0:00:21.244 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26401b86-b362-4915-ba77-055637b4435d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26401b86-b362-4915-ba77-055637b4435d" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.037) 0:00:21.282 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.068) 0:00:21.351 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.092) 0:00:21.443 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.375) 0:00:21.818 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.038) 0:00:21.856 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.062) 0:00:21.919 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 14:05:04 -0400 (0:00:00.037) 0:00:21.957 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362703.446305, "block_size": 4096, "blocks": 8, "ctime": 1722362703.446305, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722362703.446305, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.373) 0:00:22.331 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.038) 0:00:22.369 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020259", "end": "2024-07-30 14:05:05.497693", "rc": 0, "start": "2024-07-30 14:05:05.477434" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.394) 0:00:22.764 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.038) 0:00:22.802 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.039) 0:00:22.841 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.036) 0:00:22.878 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.068) 0:00:22.947 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.040) 0:00:22.987 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.038) 0:00:23.026 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.039) 0:00:23.065 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.039) 0:00:23.105 ********** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.030) 0:00:23.135 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 14:05:05 -0400 (0:00:00.036) 0:00:23.172 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 14:05:06 -0400 (0:00:00.062) 0:00:23.235 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043232", "end": "2024-07-30 14:05:06.385157", "rc": 1, "start": "2024-07-30 14:05:06.341925" } STDOUT: Connection 'statebr' (26401b86-b362-4915-ba77-055637b4435d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 30 July 2024 14:05:06 -0400 (0:00:00.419) 0:00:23.654 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 14:05:06 -0400 (0:00:00.058) 0:00:23.713 ********** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 14:05:06 -0400 (0:00:00.037) 0:00:23.750 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:05:06 -0400 (0:00:00.071) 0:00:23.822 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:05:06 -0400 (0:00:00.091) 0:00:23.914 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:05:06 -0400 (0:00:00.055) 0:00:23.969 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002852", "end": "2024-07-30 14:05:07.078902", "rc": 0, "start": "2024-07-30 14:05:07.076050" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.378) 0:00:24.347 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.036) 0:00:24.383 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.036) 0:00:24.419 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.061) 0:00:24.481 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.059) 0:00:24.541 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.066) 0:00:24.607 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.043) 0:00:24.651 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.034) 0:00:24.685 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:07 -0400 (0:00:00.068) 0:00:24.753 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:09 -0400 (0:00:01.648) 0:00:26.402 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:10 -0400 (0:00:01.505) 0:00:27.908 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:10 -0400 (0:00:00.038) 0:00:27.947 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:10 -0400 (0:00:00.059) 0:00:28.006 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:10 -0400 (0:00:00.033) 0:00:28.039 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:10 -0400 (0:00:00.034) 0:00:28.073 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:10 -0400 (0:00:00.042) 0:00:28.116 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:10 -0400 (0:00:00.036) 0:00:28.153 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:10 -0400 (0:00:00.037) 0:00:28.190 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.069) 0:00:28.260 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.033) 0:00:28.293 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.036) 0:00:28.330 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.041) 0:00:28.372 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.539) 0:00:28.911 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.040) 0:00:28.952 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.035) 0:00:28.987 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:11 -0400 (0:00:00.034) 0:00:29.022 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:12 -0400 (0:00:00.639) 0:00:29.662 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:12 -0400 (0:00:00.034) 0:00:29.697 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:12 -0400 (0:00:00.036) 0:00:29.733 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:12 -0400 (0:00:00.037) 0:00:29.771 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:12 -0400 (0:00:00.036) 0:00:29.807 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 14:05:12 -0400 (0:00:00.368) 0:00:30.176 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 14:05:13 -0400 (0:00:00.036) 0:00:30.212 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 14:05:13 -0400 (0:00:00.060) 0:00:30.273 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:13 -0400 (0:00:00.071) 0:00:30.344 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:13 -0400 (0:00:00.101) 0:00:30.446 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:13 -0400 (0:00:00.042) 0:00:30.489 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:13 -0400 (0:00:00.035) 0:00:30.524 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:13 -0400 (0:00:00.034) 0:00:30.558 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:15 -0400 (0:00:01.675) 0:00:32.234 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:16 -0400 (0:00:01.535) 0:00:33.770 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.036) 0:00:33.806 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.034) 0:00:33.841 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.033) 0:00:33.875 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.035) 0:00:33.910 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.042) 0:00:33.953 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.033) 0:00:33.986 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.041) 0:00:34.028 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.068) 0:00:34.097 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.035) 0:00:34.132 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:16 -0400 (0:00:00.033) 0:00:34.165 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:17 -0400 (0:00:00.040) 0:00:34.206 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:17 -0400 (0:00:00.551) 0:00:34.757 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:17 -0400 (0:00:00.073) 0:00:34.830 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:17 -0400 (0:00:00.036) 0:00:34.867 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:17 -0400 (0:00:00.036) 0:00:34.903 ********** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.539) 0:00:35.443 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.033) 0:00:35.476 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.038) 0:00:35.515 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce210382-36fd-4879-aefc-192bf88c1e8e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.035) 0:00:35.550 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.036) 0:00:35.587 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.367) 0:00:35.955 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.070) 0:00:36.025 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:05:18 -0400 (0:00:00.055) 0:00:36.080 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362712.329736, "block_size": 4096, "blocks": 0, "ctime": 1722362712.329736, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63068, "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": 1722362712.329736, "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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 14:05:19 -0400 (0:00:00.374) 0:00:36.455 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 July 2024 14:05:19 -0400 (0:00:00.038) 0:00:36.493 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 14:05:19 -0400 (0:00:00.062) 0:00:36.555 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 14:05:19 -0400 (0:00:00.034) 0:00:36.590 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362712.3732355, "block_size": 4096, "blocks": 8, "ctime": 1722362712.3282359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722362712.3282359, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:05:19 -0400 (0:00:00.372) 0:00:36.963 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 14:05:19 -0400 (0:00:00.038) 0:00:37.002 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021922", "end": "2024-07-30 14:05:20.128212", "rc": 0, "start": "2024-07-30 14:05:20.106290" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.394) 0:00:37.396 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.039) 0:00:37.435 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.036) 0:00:37.471 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.041) 0:00:37.513 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.039) 0:00:37.553 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.036) 0:00:37.589 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.067) 0:00:37.657 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.038) 0:00:37.696 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.037) 0:00:37.733 ********** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.031) 0:00:37.765 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.038) 0:00:37.804 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 14:05:20 -0400 (0:00:00.062) 0:00:37.867 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.062115", "end": "2024-07-30 14:05:21.033189", "rc": 1, "start": "2024-07-30 14:05:20.971074" } STDOUT: Connection 'statebr' (ce210382-36fd-4879-aefc-192bf88c1e8e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.436) 0:00:38.303 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.058) 0:00:38.362 ********** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.037) 0:00:38.399 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.071) 0:00:38.470 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.053) 0:00:38.524 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.089) 0:00:38.614 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002948", "end": "2024-07-30 14:05:21.720454", "rc": 0, "start": "2024-07-30 14:05:21.717506" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.375) 0:00:38.990 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.036) 0:00:39.026 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.038) 0:00:39.064 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.068) 0:00:39.133 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:21 -0400 (0:00:00.056) 0:00:39.190 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:22 -0400 (0:00:00.068) 0:00:39.258 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:22 -0400 (0:00:00.041) 0:00:39.300 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:22 -0400 (0:00:00.033) 0:00:39.333 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:22 -0400 (0:00:00.035) 0:00:39.369 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:23 -0400 (0:00:01.755) 0:00:41.125 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:25 -0400 (0:00:01.518) 0:00:42.643 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.065) 0:00:42.709 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.032) 0:00:42.741 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.034) 0:00:42.776 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.035) 0:00:42.812 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.040) 0:00:42.852 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.034) 0:00:42.887 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.038) 0:00:42.925 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.069) 0:00:42.994 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.035) 0:00:43.030 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.035) 0:00:43.065 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:25 -0400 (0:00:00.038) 0:00:43.104 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:26 -0400 (0:00:00.540) 0:00:43.644 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:26 -0400 (0:00:00.040) 0:00:43.685 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:26 -0400 (0:00:00.033) 0:00:43.718 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:26 -0400 (0:00:00.034) 0:00:43.752 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.639) 0:00:44.391 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.032) 0:00:44.424 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.037) 0:00:44.461 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.036) 0:00:44.498 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.035) 0:00:44.533 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.368) 0:00:44.902 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.037) 0:00:44.939 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.057) 0:00:44.997 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.067) 0:00:45.065 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.044) 0:00:45.109 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:27 -0400 (0:00:00.065) 0:00:45.175 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:28 -0400 (0:00:00.033) 0:00:45.208 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:29 -0400 (0:00:01.642) 0:00:46.850 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:31 -0400 (0:00:01.504) 0:00:48.354 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.063) 0:00:48.418 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.033) 0:00:48.452 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.035) 0:00:48.487 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.036) 0:00:48.523 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.040) 0:00:48.564 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.034) 0:00:48.599 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.044) 0:00:48.643 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.069) 0:00:48.713 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.034) 0:00:48.747 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.034) 0:00:48.782 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:31 -0400 (0:00:00.040) 0:00:48.823 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.535) 0:00:49.358 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.039) 0:00:49.398 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.033) 0:00:49.431 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.067) 0:00:49.499 ********** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.535) 0:00:50.035 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.032) 0:00:50.067 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.039) 0:00:50.106 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f46702a3-8673-4c37-9551-10f95f9c7562 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.038) 0:00:50.145 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:32 -0400 (0:00:00.032) 0:00:50.178 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 14:05:33 -0400 (0:00:00.363) 0:00:50.541 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 30 July 2024 14:05:33 -0400 (0:00:00.062) 0:00:50.604 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:33 -0400 (0:00:00.070) 0:00:50.674 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:33 -0400 (0:00:00.067) 0:00:50.742 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:33 -0400 (0:00:00.097) 0:00:50.840 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:33 -0400 (0:00:00.036) 0:00:50.876 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:33 -0400 (0:00:00.034) 0:00:50.910 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:35 -0400 (0:00:01.649) 0:00:52.560 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:36 -0400 (0:00:01.520) 0:00:54.080 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:36 -0400 (0:00:00.038) 0:00:54.119 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:36 -0400 (0:00:00.033) 0:00:54.152 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:36 -0400 (0:00:00.035) 0:00:54.188 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.035) 0:00:54.223 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.039) 0:00:54.262 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.036) 0:00:54.299 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.039) 0:00:54.338 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.068) 0:00:54.407 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.033) 0:00:54.440 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.034) 0:00:54.475 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.037) 0:00:54.513 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.541) 0:00:55.054 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.041) 0:00:55.095 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.035) 0:00:55.131 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:37 -0400 (0:00:00.033) 0:00:55.165 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:38 -0400 (0:00:00.564) 0:00:55.730 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:38 -0400 (0:00:00.034) 0:00:55.764 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:38 -0400 (0:00:00.038) 0:00:55.803 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:38 -0400 (0:00:00.035) 0:00:55.838 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:38 -0400 (0:00:00.034) 0:00:55.873 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:05:39 -0400 (0:00:00.360) 0:00:56.234 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 14:05:39 -0400 (0:00:00.069) 0:00:56.303 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:05:39 -0400 (0:00:00.091) 0:00:56.395 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362727.0655653, "block_size": 4096, "blocks": 0, "ctime": 1722362727.0655653, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63199, "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": 1722362727.0655653, "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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 14:05:39 -0400 (0:00:00.377) 0:00:56.772 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 July 2024 14:05:39 -0400 (0:00:00.041) 0:00:56.814 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 14:05:39 -0400 (0:00:00.061) 0:00:56.875 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 14:05:39 -0400 (0:00:00.034) 0:00:56.910 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.375) 0:00:57.285 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.035) 0:00:57.321 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021084", "end": "2024-07-30 14:05:40.450620", "rc": 1, "start": "2024-07-30 14:05:40.429536" } 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.397) 0:00:57.719 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.035) 0:00:57.754 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.035) 0:00:57.790 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.036) 0:00:57.826 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.070) 0:00:57.897 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.034) 0:00:57.931 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.043) 0:00:57.974 ********** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.035) 0:00:58.010 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.035) 0:00:58.045 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 14:05:40 -0400 (0:00:00.067) 0:00:58.112 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.072105", "end": "2024-07-30 14:05:41.292652", "rc": 1, "start": "2024-07-30 14:05:41.220547" } STDOUT: Connection 'statebr' (f46702a3-8673-4c37-9551-10f95f9c7562) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 30 July 2024 14:05:41 -0400 (0:00:00.448) 0:00:58.561 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 14:05:41 -0400 (0:00:00.059) 0:00:58.620 ********** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 14:05:41 -0400 (0:00:00.035) 0:00:58.656 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:05:41 -0400 (0:00:00.075) 0:00:58.731 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:05:41 -0400 (0:00:00.056) 0:00:58.787 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:05:41 -0400 (0:00:00.083) 0:00:58.871 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002946", "end": "2024-07-30 14:05:41.979793", "rc": 0, "start": "2024-07-30 14:05:41.976847" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.374) 0:00:59.246 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.036) 0:00:59.282 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.034) 0:00:59.316 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.072) 0:00:59.389 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.058) 0:00:59.448 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.066) 0:00:59.514 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.041) 0:00:59.556 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.036) 0:00:59.592 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:42 -0400 (0:00:00.034) 0:00:59.627 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:44 -0400 (0:00:01.649) 0:01:01.276 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:45 -0400 (0:00:01.506) 0:01:02.783 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.038) 0:01:02.821 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.063) 0:01:02.885 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.032) 0:01:02.918 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.034) 0:01:02.952 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.044) 0:01:02.997 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.033) 0:01:03.030 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.043) 0:01:03.074 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.069) 0:01:03.144 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:45 -0400 (0:00:00.033) 0:01:03.178 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:46 -0400 (0:00:00.033) 0:01:03.211 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:46 -0400 (0:00:00.042) 0:01:03.254 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:46 -0400 (0:00:00.541) 0:01:03.795 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:46 -0400 (0:00:00.040) 0:01:03.836 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:46 -0400 (0:00:00.033) 0:01:03.870 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:46 -0400 (0:00:00.036) 0:01:03.907 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.634) 0:01:04.541 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.034) 0:01:04.575 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.036) 0:01:04.611 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.037) 0:01:04.648 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.037) 0:01:04.685 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.366) 0:01:05.052 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.037) 0:01:05.090 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:47 -0400 (0:00:00.057) 0:01:05.148 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:48 -0400 (0:00:00.067) 0:01:05.215 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:48 -0400 (0:00:00.040) 0:01:05.255 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:48 -0400 (0:00:00.036) 0:01:05.292 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:48 -0400 (0:00:00.071) 0:01:05.364 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:49 -0400 (0:00:01.638) 0:01:07.002 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:51 -0400 (0:00:01.500) 0:01:08.503 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.036) 0:01:08.540 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.062) 0:01:08.603 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.035) 0:01:08.638 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.032) 0:01:08.671 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.045) 0:01:08.716 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.036) 0:01:08.753 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.038) 0:01:08.791 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.070) 0:01:08.862 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.034) 0:01:08.896 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.035) 0:01:08.932 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:51 -0400 (0:00:00.037) 0:01:08.969 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:52 -0400 (0:00:00.543) 0:01:09.513 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:52 -0400 (0:00:00.040) 0:01:09.553 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:52 -0400 (0:00:00.035) 0:01:09.589 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:52 -0400 (0:00:00.032) 0:01:09.622 ********** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.579) 0:01:10.201 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.035) 0:01:10.236 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.036) 0:01:10.273 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e989874-a8bb-43f9-87ef-6b1730fb93f4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.038) 0:01:10.312 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.034) 0:01:10.346 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.370) 0:01:10.717 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.058) 0:01:10.775 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.068) 0:01:10.844 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.042) 0:01:10.886 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.036) 0:01:10.923 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:53 -0400 (0:00:00.033) 0:01:10.956 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:05:55 -0400 (0:00:01.672) 0:01:12.629 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:05:56 -0400 (0:00:01.507) 0:01:14.136 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:05:56 -0400 (0:00:00.037) 0:01:14.173 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.066) 0:01:14.240 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.035) 0:01:14.275 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.033) 0:01:14.308 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.042) 0:01:14.351 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.035) 0:01:14.386 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.039) 0:01:14.426 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.069) 0:01:14.495 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.035) 0:01:14.531 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.036) 0:01:14.567 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.037) 0:01:14.605 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.539) 0:01:15.145 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:05:57 -0400 (0:00:00.039) 0:01:15.184 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:05:58 -0400 (0:00:00.033) 0:01:15.218 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:05:58 -0400 (0:00:00.036) 0:01:15.255 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:05:58 -0400 (0:00:00.601) 0:01:15.856 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:05:58 -0400 (0:00:00.034) 0:01:15.890 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:05:58 -0400 (0:00:00.036) 0:01:15.926 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:05:58 -0400 (0:00:00.040) 0:01:15.966 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:05:58 -0400 (0:00:00.032) 0:01:15.999 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 14:05:59 -0400 (0:00:00.366) 0:01:16.366 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 July 2024 14:05:59 -0400 (0:00:00.066) 0:01:16.432 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:05:59 -0400 (0:00:00.068) 0:01:16.500 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:05:59 -0400 (0:00:00.067) 0:01:16.568 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:05:59 -0400 (0:00:00.042) 0:01:16.611 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:05:59 -0400 (0:00:00.064) 0:01:16.676 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:05:59 -0400 (0:00:00.033) 0:01:16.709 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:06:01 -0400 (0:00:01.654) 0:01:18.363 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:06:02 -0400 (0:00:01.539) 0:01:19.903 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:06:02 -0400 (0:00:00.036) 0:01:19.940 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:06:02 -0400 (0:00:00.036) 0:01:19.976 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:06:02 -0400 (0:00:00.033) 0:01:20.010 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:06:02 -0400 (0:00:00.035) 0:01:20.046 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:06:02 -0400 (0:00:00.042) 0:01:20.089 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:06:02 -0400 (0:00:00.035) 0:01:20.124 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:06:02 -0400 (0:00:00.041) 0:01:20.166 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.070) 0:01:20.236 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.036) 0:01:20.272 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.032) 0:01:20.305 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.043) 0:01:20.348 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.536) 0:01:20.884 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.041) 0:01:20.926 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.033) 0:01:20.959 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:06:03 -0400 (0:00:00.071) 0:01:21.031 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:06:04 -0400 (0:00:00.624) 0:01:21.655 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:06:04 -0400 (0:00:00.033) 0:01:21.689 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:06:04 -0400 (0:00:00.038) 0:01:21.727 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:06:04 -0400 (0:00:00.038) 0:01:21.766 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:06:04 -0400 (0:00:00.034) 0:01:21.800 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:06:04 -0400 (0:00:00.369) 0:01:22.169 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 July 2024 14:06:05 -0400 (0:00:00.063) 0:01:22.233 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 14:06:05 -0400 (0:00:00.060) 0:01:22.294 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 14:06:05 -0400 (0:00:00.037) 0:01:22.331 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:06:05 -0400 (0:00:00.372) 0:01:22.703 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 14:06:05 -0400 (0:00:00.035) 0:01:22.739 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020406", "end": "2024-07-30 14:06:05.865477", "rc": 1, "start": "2024-07-30 14:06:05.845071" } 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 14:06:05 -0400 (0:00:00.396) 0:01:23.135 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 14:06:05 -0400 (0:00:00.037) 0:01:23.173 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.038) 0:01:23.212 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.035) 0:01:23.248 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.038) 0:01:23.286 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.038) 0:01:23.324 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.037) 0:01:23.362 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.067) 0:01:23.429 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.058) 0:01:23.488 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.403) 0:01:23.891 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.041) 0:01:23.933 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.035) 0:01:23.968 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 14:06:06 -0400 (0:00:00.067) 0:01:24.036 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042885", "end": "2024-07-30 14:06:07.184944", "rc": 1, "start": "2024-07-30 14:06:07.142059" } 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.415) 0:01:24.451 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.058) 0:01:24.510 ********** ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.037) 0:01:24.547 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.076) 0:01:24.623 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.056) 0:01:24.680 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.055) 0:01:24.735 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003062", "end": "2024-07-30 14:06:07.850340", "rc": 0, "start": "2024-07-30 14:06:07.847278" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.385) 0:01:25.120 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.037) 0:01:25.158 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 14:06:07 -0400 (0:00:00.038) 0:01:25.196 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 14:06:08 -0400 (0:00:00.071) 0:01:25.268 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:06:08 -0400 (0:00:00.060) 0:01:25.328 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:06:08 -0400 (0:00:00.066) 0:01:25.395 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:06:08 -0400 (0:00:00.043) 0:01:25.438 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:06:08 -0400 (0:00:00.034) 0:01:25.473 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:06:08 -0400 (0:00:00.034) 0:01:25.508 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:06:09 -0400 (0:00:01.684) 0:01:27.192 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:06:11 -0400 (0:00:01.508) 0:01:28.700 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.038) 0:01:28.739 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.033) 0:01:28.773 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.035) 0:01:28.808 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.069) 0:01:28.877 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.043) 0:01:28.921 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.034) 0:01:28.955 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.041) 0:01:28.997 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.071) 0:01:29.068 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.036) 0:01:29.104 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.036) 0:01:29.141 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:06:11 -0400 (0:00:00.039) 0:01:29.180 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:06:12 -0400 (0:00:00.549) 0:01:29.729 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:06:12 -0400 (0:00:00.042) 0:01:29.771 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:06:12 -0400 (0:00:00.037) 0:01:29.809 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:06:12 -0400 (0:00:00.033) 0:01:29.843 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.629) 0:01:30.472 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.033) 0:01:30.506 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.038) 0:01:30.545 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.040) 0:01:30.585 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.032) 0:01:30.617 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.367) 0:01:30.985 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.037) 0:01:31.023 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.059) 0:01:31.082 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.068) 0:01:31.150 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:06:13 -0400 (0:00:00.044) 0:01:31.195 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:06:14 -0400 (0:00:00.034) 0:01:31.229 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:06:14 -0400 (0:00:00.034) 0:01:31.264 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:06:15 -0400 (0:00:01.639) 0:01:32.904 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:06:17 -0400 (0:00:01.506) 0:01:34.410 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.037) 0:01:34.447 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.065) 0:01:34.513 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.034) 0:01:34.547 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.034) 0:01:34.582 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.043) 0:01:34.625 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.033) 0:01:34.659 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.042) 0:01:34.701 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.068) 0:01:34.770 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.034) 0:01:34.804 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.033) 0:01:34.838 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:06:17 -0400 (0:00:00.041) 0:01:34.880 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:06:18 -0400 (0:00:00.539) 0:01:35.419 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:06:18 -0400 (0:00:00.040) 0:01:35.460 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:06:18 -0400 (0:00:00.033) 0:01:35.494 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:06:18 -0400 (0:00:00.036) 0:01:35.530 ********** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:06:18 -0400 (0:00:00.577) 0:01:36.107 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:06:18 -0400 (0:00:00.034) 0:01:36.142 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:06:18 -0400 (0:00:00.037) 0:01:36.180 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79e48349-df87-4809-ad65-a616fb0206c3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.036) 0:01:36.216 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.035) 0:01:36.251 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.370) 0:01:36.621 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.057) 0:01:36.678 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.067) 0:01:36.746 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.042) 0:01:36.789 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.036) 0:01:36.826 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:06:19 -0400 (0:00:00.033) 0:01:36.859 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:06:21 -0400 (0:00:01.631) 0:01:38.490 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:06:22 -0400 (0:00:01.503) 0:01:39.994 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:06:22 -0400 (0:00:00.069) 0:01:40.064 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:06:22 -0400 (0:00:00.033) 0:01:40.097 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:06:22 -0400 (0:00:00.036) 0:01:40.133 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:06:22 -0400 (0:00:00.034) 0:01:40.168 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.042) 0:01:40.211 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.038) 0:01:40.250 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.040) 0:01:40.291 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.068) 0:01:40.360 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.037) 0:01:40.397 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.036) 0:01:40.434 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.039) 0:01:40.473 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.542) 0:01:41.016 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.040) 0:01:41.056 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.036) 0:01:41.092 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:06:23 -0400 (0:00:00.032) 0:01:41.125 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:06:24 -0400 (0:00:00.664) 0:01:41.790 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:06:24 -0400 (0:00:00.034) 0:01:41.824 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:06:24 -0400 (0:00:00.039) 0:01:41.863 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:06:24 -0400 (0:00:00.036) 0:01:41.900 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:06:24 -0400 (0:00:00.036) 0:01:41.936 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 14:06:25 -0400 (0:00:00.371) 0:01:42.308 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 July 2024 14:06:25 -0400 (0:00:00.062) 0:01:42.371 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:06:25 -0400 (0:00:00.059) 0:01:42.431 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:06:25 -0400 (0:00:00.067) 0:01:42.498 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:06:25 -0400 (0:00:00.080) 0:01:42.579 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:06:25 -0400 (0:00:00.036) 0:01:42.615 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:06:25 -0400 (0:00:00.037) 0:01:42.653 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:06:27 -0400 (0:00:01.629) 0:01:44.283 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:06:28 -0400 (0:00:01.505) 0:01:45.789 ********** ok: [managed_node1] => {} MSG: Using network provider: nm 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.070) 0:01:45.860 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.036) 0:01:45.896 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.034) 0:01:45.930 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.037) 0:01:45.968 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.042) 0:01:46.011 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.034) 0:01:46.045 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.040) 0:01:46.086 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.069) 0:01:46.156 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:06:28 -0400 (0:00:00.033) 0:01:46.190 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:06:29 -0400 (0:00:00.034) 0:01:46.224 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:06:29 -0400 (0:00:00.041) 0:01:46.266 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:06:29 -0400 (0:00:00.536) 0:01:46.803 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:06:29 -0400 (0:00:00.042) 0:01:46.845 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:06:29 -0400 (0:00:00.034) 0:01:46.879 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:06:29 -0400 (0:00:00.036) 0:01:46.916 ********** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.612) 0:01:47.529 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.035) 0:01:47.564 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.035) 0:01:47.600 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.039) 0:01:47.640 ********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.032) 0:01:47.673 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.368) 0:01:48.041 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.069) 0:01:48.111 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 14:06:30 -0400 (0:00:00.062) 0:01:48.174 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.034) 0:01:48.208 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.406) 0:01:48.614 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.034) 0:01:48.649 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020445", "end": "2024-07-30 14:06:31.776498", "rc": 1, "start": "2024-07-30 14:06:31.756053" } 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.396) 0:01:49.045 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.038) 0:01:49.084 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.035) 0:01:49.119 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.037) 0:01:49.156 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 14:06:31 -0400 (0:00:00.038) 0:01:49.195 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 July 2024 14:06:32 -0400 (0:00:00.035) 0:01:49.231 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 30 July 2024 14:06:32 -0400 (0:00:00.041) 0:01:49.272 ********** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.944110", "end": "2024-07-30 14:06:33.321965", "rc": 0, "start": "2024-07-30 14:06:32.377855" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 30 July 2024 14:06:33 -0400 (0:00:01.317) 0:01:50.590 ********** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 30 July 2024 14:06:33 -0400 (0:00:00.069) 0:01:50.659 ********** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 14:06:33 -0400 (0:00:00.037) 0:01:50.697 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 14:06:33 -0400 (0:00:00.071) 0:01:50.768 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:06:33 -0400 (0:00:00.058) 0:01:50.827 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 14:06:34 -0400 (0:00:00.383) 0:01:51.210 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:06:34 -0400 (0:00:00.040) 0:01:51.251 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 14:06:34 -0400 (0:00:00.038) 0:01:51.290 ********** included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 14:06:34 -0400 (0:00:00.070) 0:01:51.361 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043376", "end": "2024-07-30 14:06:34.514997", "rc": 1, "start": "2024-07-30 14:06:34.471621" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 30 July 2024 14:06:34 -0400 (0:00:00.424) 0:01:51.785 ********** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008735", "end": "2024-07-30 14:06:34.908713", "rc": 0, "start": "2024-07-30 14:06:34.899978" } 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:ce:c9:b4:b3 brd ff:ff:ff:ff:ff:ff inet 10.31.13.191/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3157sec preferred_lft 3157sec inet6 fe80::8ff:ceff:fec9:b4b3/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ce:09:a7:d2:89:92 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.191 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.191 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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 30 July 2024 14:06:34 -0400 (0:00:00.395) 0:01:52.181 ********** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.212062", "end": "2024-07-30 14:06:35.570038", "rc": 0, "start": "2024-07-30 14:06:35.357976" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 3505 0 --:--:-- --:--:-- --:--:-- 3505 % 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 2881 0 --:--:-- --:--:-- --:--:-- 2881 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Tuesday 30 July 2024 14:06:35 -0400 (0:00:00.638) 0:01:52.819 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/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/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26