ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Tuesday 30 July 2024 14:02:42 -0400 (0:00:00.020) 0:00:00.021 ********** 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_initscripts.yml:8 Tuesday 30 July 2024 14:02:43 -0400 (0:00:00.935) 0:00:00.956 ********** 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:02:43 -0400 (0:00:00.034) 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:02:43 -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:02:44 -0400 (0:00:00.459) 0:00:01.955 ********** 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:02:44 -0400 (0:00:00.032) 0:00:01.987 ********** 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:02:44 -0400 (0:00:00.029) 0:00:02.017 ********** 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:02:44 -0400 (0:00:00.051) 0:00:02.068 ********** 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:02:44 -0400 (0:00:00.429) 0:00:02.498 ********** 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:02:44 -0400 (0:00:00.018) 0:00:02.516 ********** 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:02:44 -0400 (0:00:00.018) 0:00:02.534 ********** [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.244901", "end": "2024-07-30 14:02:45.144830", "rc": 0, "start": "2024-07-30 14:02:44.899929" } 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:02:45 -0400 (0:00:00.606) 0:00:03.140 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Tuesday 30 July 2024 14:02:45 -0400 (0:00:00.016) 0:00:03.157 ********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 30 July 2024 14:02:45 -0400 (0:00:00.016) 0:00:03.173 ********** 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:02:45 -0400 (0:00:00.650) 0:00:03.824 ********** 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:02:45 -0400 (0:00:00.017) 0:00:03.842 ********** 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:02:45 -0400 (0:00:00.029) 0:00:03.872 ********** 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:02:45 -0400 (0:00:00.018) 0:00:03.891 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:02:46 -0400 (0:00:00.057) 0:00:03.948 ********** 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:02:46 -0400 (0:00:00.026) 0:00:03.974 ********** 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:02:46 -0400 (0:00:00.021) 0:00:03.996 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002928", "end": "2024-07-30 14:02:46.357739", "rc": 0, "start": "2024-07-30 14:02:46.354811" } 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:02:46 -0400 (0:00:00.355) 0:00:04.352 ********** 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:02:46 -0400 (0:00:00.019) 0:00:04.371 ********** 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:02:46 -0400 (0:00:00.020) 0:00:04.391 ********** 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:02:46 -0400 (0:00:00.032) 0:00:04.424 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007361", "end": "2024-07-30 14:02:46.790156", "rc": 1, "start": "2024-07-30 14:02:46.782795" } 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:02:46 -0400 (0:00:00.358) 0:00:04.783 ********** 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:02:46 -0400 (0:00:00.025) 0:00:04.808 ********** 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:02:47 -0400 (0:00:00.352) 0:00:05.161 ********** 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:02:47 -0400 (0:00:00.020) 0:00:05.181 ********** 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:02:47 -0400 (0:00:00.030) 0:00:05.212 ********** 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:02:47 -0400 (0:00:00.091) 0:00:05.303 ********** 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:02:47 -0400 (0:00:00.033) 0:00:05.337 ********** 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:02:47 -0400 (0:00:00.021) 0:00:05.358 ********** 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:02:47 -0400 (0:00:00.017) 0:00:05.376 ********** 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:02:47 -0400 (0:00:00.017) 0:00:05.394 ********** 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:02:49 -0400 (0:00:01.768) 0:00:07.163 ********** 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:02:50 -0400 (0:00:01.742) 0:00:08.905 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:02:50 -0400 (0:00:00.036) 0:00:08.942 ********** 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:02:51 -0400 (0:00:00.035) 0:00:08.977 ********** 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:02:51 -0400 (0:00:00.035) 0:00:09.013 ********** 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:02:51 -0400 (0:00:00.034) 0:00:09.048 ********** 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:02:51 -0400 (0:00:00.045) 0:00:09.093 ********** 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:02:51 -0400 (0:00:00.035) 0:00:09.129 ********** 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:02:51 -0400 (0:00:00.067) 0:00:09.196 ********** 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:02:51 -0400 (0:00:00.070) 0:00:09.266 ********** 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:02:51 -0400 (0:00:00.033) 0:00:09.300 ********** 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:02:51 -0400 (0:00:00.035) 0:00:09.336 ********** 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:02:51 -0400 (0:00:00.042) 0:00:09.378 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:02:51 -0400 (0:00:00.033) 0:00:09.412 ********** 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:02:51 -0400 (0:00:00.035) 0:00:09.447 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:02:52 -0400 (0:00:00.739) 0:00:10.187 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmp57frgsww" } 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:02:52 -0400 (0:00:00.388) 0:00:10.575 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:02:53 -0400 (0:00:00.667) 0:00:11.243 ********** 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:02:53 -0400 (0:00:00.066) 0:00:11.309 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:02:53 -0400 (0:00:00.039) 0:00:11.349 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:02:53 -0400 (0:00:00.036) 0:00:11.385 ********** 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:02:53 -0400 (0:00:00.036) 0:00:11.422 ********** 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:02:53 -0400 (0:00:00.442) 0:00:11.865 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:02:53 -0400 (0:00:00.037) 0:00:11.902 ********** 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:02:54 -0400 (0:00:00.066) 0:00:11.969 ********** 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:02:54 -0400 (0:00:00.061) 0:00:12.030 ********** 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:02:54 -0400 (0:00:00.037) 0:00:12.068 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362573.2303216, "block_size": 4096, "blocks": 8, "ctime": 1722362573.2303216, "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": 1722362573.2303216, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:02:54 -0400 (0:00:00.375) 0:00:12.443 ********** 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:02:54 -0400 (0:00:00.038) 0:00:12.481 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021101", "end": "2024-07-30 14:02:54.869242", "rc": 1, "start": "2024-07-30 14:02:54.848141" } 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:02:54 -0400 (0:00:00.397) 0:00:12.879 ********** 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:02:54 -0400 (0:00:00.038) 0:00:12.917 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002801", "end": "2024-07-30 14:02:55.291176", "rc": 0, "start": "2024-07-30 14:02:55.288375" } STDOUT: # Ansible managed 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:02:55 -0400 (0:00:00.385) 0:00:13.303 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:02:55 -0400 (0:00:00.043) 0:00:13.347 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002879", "end": "2024-07-30 14:02:55.723032", "rc": 0, "start": "2024-07-30 14:02:55.720153" } STDOUT: # system_role:network 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:02:55 -0400 (0:00:00.389) 0:00:13.736 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:02:55 -0400 (0:00:00.045) 0:00:13.782 ********** 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:02:55 -0400 (0:00:00.040) 0:00:13.823 ********** 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:02:55 -0400 (0:00:00.039) 0:00:13.862 ********** 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:02:55 -0400 (0:00:00.038) 0:00:13.900 ********** skipping: [managed_node1] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:02:55 -0400 (0:00:00.042) 0:00:13.943 ********** 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:02:56 -0400 (0:00:00.036) 0:00:13.979 ********** 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:02:56 -0400 (0:00:00.068) 0:00:14.048 ********** 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.038962", "end": "2024-07-30 14:02:56.453815", "rc": 1, "start": "2024-07-30 14:02:56.414853" } 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:45 Tuesday 30 July 2024 14:02:56 -0400 (0:00:00.416) 0:00:14.464 ********** 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:02:56 -0400 (0:00:00.058) 0:00:14.523 ********** 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:02:56 -0400 (0:00:00.041) 0:00:14.565 ********** 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:02:56 -0400 (0:00:00.076) 0:00:14.641 ********** 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:02:56 -0400 (0:00:00.054) 0:00:14.696 ********** 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:02:56 -0400 (0:00:00.056) 0:00:14.753 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002977", "end": "2024-07-30 14:02:57.118226", "rc": 0, "start": "2024-07-30 14:02:57.115249" } 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:02:57 -0400 (0:00:00.377) 0:00:15.130 ********** 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:02:57 -0400 (0:00:00.036) 0:00:15.167 ********** 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:02:57 -0400 (0:00:00.036) 0:00:15.204 ********** 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:02:57 -0400 (0:00:00.101) 0:00:15.305 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005594", "end": "2024-07-30 14:02:57.675859", "rc": 1, "start": "2024-07-30 14:02:57.670265" } 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:02:57 -0400 (0:00:00.380) 0:00:15.685 ********** 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:02:57 -0400 (0:00:00.058) 0:00:15.744 ********** 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:02:58 -0400 (0:00:00.372) 0:00:16.116 ********** 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:02:58 -0400 (0:00:00.038) 0:00:16.155 ********** 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:02:58 -0400 (0:00:00.063) 0:00:16.219 ********** 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:02:58 -0400 (0:00:00.067) 0:00:16.286 ********** 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:02:58 -0400 (0:00:00.065) 0:00:16.352 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:02:58 -0400 (0:00:00.045) 0:00:16.397 ********** 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:02:58 -0400 (0:00:00.071) 0:00:16.468 ********** 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:02:58 -0400 (0:00:00.036) 0:00:16.505 ********** 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:03:00 -0400 (0:00:01.662) 0:00:18.167 ********** 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:03:01 -0400 (0:00:01.560) 0:00:19.728 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:01 -0400 (0:00:00.039) 0:00:19.767 ********** 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:03:01 -0400 (0:00:00.034) 0:00:19.801 ********** 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:03:01 -0400 (0:00:00.037) 0:00:19.838 ********** 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:03:01 -0400 (0:00:00.036) 0:00:19.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 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:03:01 -0400 (0:00:00.042) 0:00:19.917 ********** 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:03:02 -0400 (0:00:00.037) 0:00:19.954 ********** 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:03:02 -0400 (0:00:00.041) 0:00:19.996 ********** 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:03:02 -0400 (0:00:00.072) 0:00:20.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:03:02 -0400 (0:00:00.037) 0:00:20.105 ********** 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:03:02 -0400 (0:00:00.034) 0:00:20.140 ********** 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:03:02 -0400 (0:00:00.043) 0:00:20.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 : 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:03:02 -0400 (0:00:00.034) 0:00:20.218 ********** 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:03:02 -0400 (0:00:00.035) 0:00:20.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 : 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:03:02 -0400 (0:00:00.546) 0:00:20.801 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpkihfr7lb" } 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:03:03 -0400 (0:00:00.427) 0:00:21.228 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:03 -0400 (0:00:00.496) 0:00:21.725 ********** 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:03:03 -0400 (0:00:00.034) 0:00:21.759 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:03 -0400 (0:00:00.039) 0:00:21.798 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:03 -0400 (0:00:00.037) 0:00:21.836 ********** 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:03:03 -0400 (0:00:00.036) 0:00:21.873 ********** 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:03:04 -0400 (0:00:00.367) 0:00:22.240 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 14:03:04 -0400 (0:00:00.038) 0:00:22.279 ********** 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:03:04 -0400 (0:00:00.070) 0:00:22.350 ********** 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:03:04 -0400 (0:00:00.058) 0:00:22.409 ********** 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:03:04 -0400 (0:00:00.384) 0:00:22.793 ********** 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:03:04 -0400 (0:00:00.039) 0:00:22.833 ********** 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:03:04 -0400 (0:00:00.062) 0:00:22.896 ********** 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:03:04 -0400 (0:00:00.038) 0:00:22.934 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362583.71324, "block_size": 4096, "blocks": 8, "ctime": 1722362583.71324, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2190070, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722362583.71324, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:03:05 -0400 (0:00:00.378) 0:00:23.313 ********** 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:03:05 -0400 (0:00:00.038) 0:00:23.351 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020111", "end": "2024-07-30 14:03:05.743906", "rc": 1, "start": "2024-07-30 14:03:05.723795" } 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:03:05 -0400 (0:00:00.403) 0:00:23.755 ********** 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:03:05 -0400 (0:00:00.039) 0:00:23.794 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002805", "end": "2024-07-30 14:03:06.170154", "rc": 0, "start": "2024-07-30 14:03:06.167349" } STDOUT: # Ansible managed 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:03:06 -0400 (0:00:00.388) 0:00:24.183 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:03:06 -0400 (0:00:00.042) 0:00:24.225 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002969", "end": "2024-07-30 14:03:06.609013", "rc": 0, "start": "2024-07-30 14:03:06.606044" } STDOUT: # system_role:network 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:03:06 -0400 (0:00:00.396) 0:00:24.621 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:03:06 -0400 (0:00:00.043) 0:00:24.665 ********** 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:03:06 -0400 (0:00:00.039) 0:00:24.704 ********** 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:03:06 -0400 (0:00:00.041) 0:00:24.746 ********** 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:03:06 -0400 (0:00:00.036) 0:00:24.782 ********** 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:03:06 -0400 (0:00:00.035) 0:00:24.818 ********** 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:03:06 -0400 (0:00:00.039) 0:00:24.857 ********** 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:03:06 -0400 (0:00:00.063) 0:00:24.921 ********** 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.039542", "end": "2024-07-30 14:03:07.326505", "rc": 1, "start": "2024-07-30 14:03:07.286963" } 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:65 Tuesday 30 July 2024 14:03:07 -0400 (0:00:00.416) 0:00:25.337 ********** 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:03:07 -0400 (0:00:00.060) 0:00:25.398 ********** 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:03:07 -0400 (0:00:00.036) 0:00:25.435 ********** 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:03:07 -0400 (0:00:00.108) 0:00:25.543 ********** 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:03:07 -0400 (0:00:00.057) 0:00:25.600 ********** 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:03:07 -0400 (0:00:00.057) 0:00:25.658 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002916", "end": "2024-07-30 14:03:08.026252", "rc": 0, "start": "2024-07-30 14:03:08.023336" } 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:03:08 -0400 (0:00:00.379) 0:00:26.037 ********** 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:03:08 -0400 (0:00:00.036) 0:00:26.073 ********** 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:03:08 -0400 (0:00:00.038) 0:00:26.112 ********** 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:03:08 -0400 (0:00:00.060) 0:00:26.173 ********** 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:03:08 -0400 (0:00:00.058) 0:00:26.231 ********** 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:03:08 -0400 (0:00:00.067) 0:00:26.299 ********** 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:03:08 -0400 (0:00:00.043) 0:00:26.342 ********** 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:03:08 -0400 (0:00:00.072) 0:00:26.415 ********** 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:03:08 -0400 (0:00:00.034) 0:00:26.450 ********** 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:03:10 -0400 (0:00:01.676) 0:00:28.126 ********** 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:03:11 -0400 (0:00:01.539) 0:00:29.665 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:11 -0400 (0:00:00.035) 0:00:29.701 ********** 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:03:11 -0400 (0:00:00.035) 0:00:29.736 ********** 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:03:11 -0400 (0:00:00.037) 0:00:29.773 ********** 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:03:11 -0400 (0:00:00.033) 0:00:29.807 ********** 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:03:11 -0400 (0:00:00.044) 0:00:29.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:03:11 -0400 (0:00:00.036) 0:00:29.888 ********** 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:03:11 -0400 (0:00:00.039) 0:00:29.928 ********** 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:03:12 -0400 (0:00:00.071) 0:00:29.999 ********** 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:03:12 -0400 (0:00:00.036) 0:00:30.035 ********** 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:03:12 -0400 (0:00:00.036) 0:00:30.071 ********** 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:03:12 -0400 (0:00:00.039) 0:00:30.111 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:03:12 -0400 (0:00:00.036) 0:00:30.148 ********** 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:03:12 -0400 (0:00:00.033) 0:00:30.182 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:03:12 -0400 (0:00:00.536) 0:00:30.719 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmp51_figwt" } 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:03:13 -0400 (0:00:00.389) 0:00:31.108 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:13 -0400 (0:00:00.492) 0:00:31.600 ********** 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:03:13 -0400 (0:00:00.035) 0:00:31.636 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:13 -0400 (0:00:00.037) 0:00:31.674 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:13 -0400 (0:00:00.040) 0:00:31.714 ********** 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:03:13 -0400 (0:00:00.037) 0:00:31.752 ********** 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:03:14 -0400 (0:00:00.365) 0:00:32.117 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 14:03:14 -0400 (0:00:00.036) 0:00:32.154 ********** 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:03:14 -0400 (0:00:00.065) 0:00:32.220 ********** 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:03:14 -0400 (0:00:00.070) 0:00:32.291 ********** 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:03:14 -0400 (0:00:00.094) 0:00:32.386 ********** 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:03:14 -0400 (0:00:00.044) 0:00:32.430 ********** 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:03:14 -0400 (0:00:00.036) 0:00:32.466 ********** 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:03:14 -0400 (0:00:00.034) 0:00:32.501 ********** 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:03:16 -0400 (0:00:01.637) 0:00:34.138 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:03:17 -0400 (0:00:01.555) 0:00:35.693 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:17 -0400 (0:00:00.038) 0:00:35.732 ********** 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:03:17 -0400 (0:00:00.037) 0:00:35.770 ********** 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:03:17 -0400 (0:00:00.034) 0:00:35.804 ********** 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:03:17 -0400 (0:00:00.036) 0:00:35.840 ********** 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:03:17 -0400 (0:00:00.043) 0:00:35.884 ********** 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:03:17 -0400 (0:00:00.034) 0:00:35.919 ********** 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:03:18 -0400 (0:00:00.041) 0:00:35.960 ********** 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:03:18 -0400 (0:00:00.069) 0:00:36.030 ********** 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:03:18 -0400 (0:00:00.035) 0:00:36.066 ********** 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:03:18 -0400 (0:00:00.035) 0:00:36.101 ********** 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:03:18 -0400 (0:00:00.074) 0:00:36.176 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:03:18 -0400 (0:00:00.037) 0:00:36.214 ********** 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:03:18 -0400 (0:00:00.036) 0:00:36.250 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:03:18 -0400 (0:00:00.540) 0:00:36.791 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpj7w85hhl" } 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:03:19 -0400 (0:00:00.387) 0:00:37.178 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:19 -0400 (0:00:00.756) 0:00:37.934 ********** 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:03:20 -0400 (0:00:00.036) 0:00:37.971 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:20 -0400 (0:00:00.037) 0:00:38.009 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:20 -0400 (0:00:00.040) 0:00:38.049 ********** 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:03:20 -0400 (0:00:00.035) 0:00:38.084 ********** 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:03:20 -0400 (0:00:00.370) 0:00:38.455 ********** 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:03:20 -0400 (0:00:00.070) 0:00:38.526 ********** 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:03:20 -0400 (0:00:00.055) 0:00:38.582 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362599.8346226, "block_size": 4096, "blocks": 0, "ctime": 1722362599.8346226, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62413, "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": 1722362599.8346226, "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:03:21 -0400 (0:00:00.379) 0:00:38.961 ********** 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:03:21 -0400 (0:00:00.038) 0:00:39.000 ********** 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:03:21 -0400 (0:00:00.065) 0:00:39.066 ********** 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:03:21 -0400 (0:00:00.035) 0:00:39.101 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362599.6581154, "block_size": 4096, "blocks": 8, "ctime": 1722362593.5881627, "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": 1722362593.5881627, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 14:03:21 -0400 (0:00:00.374) 0:00:39.475 ********** 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:03:21 -0400 (0:00:00.038) 0:00:39.514 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021093", "end": "2024-07-30 14:03:21.895763", "rc": 1, "start": "2024-07-30 14:03:21.874670" } 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:03:21 -0400 (0:00:00.424) 0:00:39.939 ********** 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:03:22 -0400 (0:00:00.038) 0:00:39.978 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002765", "end": "2024-07-30 14:03:22.345562", "rc": 0, "start": "2024-07-30 14:03:22.342797" } STDOUT: # Ansible managed 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:03:22 -0400 (0:00:00.379) 0:00:40.357 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:03:22 -0400 (0:00:00.046) 0:00:40.404 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002878", "end": "2024-07-30 14:03:22.775041", "rc": 0, "start": "2024-07-30 14:03:22.772163" } STDOUT: # system_role:network 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:03:22 -0400 (0:00:00.386) 0:00:40.790 ********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:03:22 -0400 (0:00:00.044) 0:00:40.835 ********** 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:03:22 -0400 (0:00:00.041) 0:00:40.876 ********** 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:03:22 -0400 (0:00:00.039) 0:00:40.915 ********** 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:03:23 -0400 (0:00:00.037) 0:00:40.953 ********** 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:03:23 -0400 (0:00:00.034) 0:00:40.987 ********** 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:03:23 -0400 (0:00:00.035) 0:00:41.023 ********** 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:03:23 -0400 (0:00:00.067) 0:00:41.090 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046670", "end": "2024-07-30 14:03:23.499799", "rc": 0, "start": "2024-07-30 14:03:23.453129" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:03:23 -0400 (0:00:00.420) 0:00:41.511 ********** 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:03:23 -0400 (0:00:00.058) 0:00:41.569 ********** 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:03:23 -0400 (0:00:00.037) 0:00:41.607 ********** 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:03:23 -0400 (0:00:00.078) 0:00:41.685 ********** 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:03:23 -0400 (0:00:00.058) 0:00:41.743 ********** 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:03:23 -0400 (0:00:00.053) 0:00:41.797 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-07-30 14:03:24.164150", "rc": 0, "start": "2024-07-30 14:03:24.160918" } 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:03:24 -0400 (0:00:00.376) 0:00:42.173 ********** 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:03:24 -0400 (0:00:00.037) 0:00:42.211 ********** 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:03:24 -0400 (0:00:00.035) 0:00:42.246 ********** 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:03:24 -0400 (0:00:00.066) 0:00:42.313 ********** 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:03:24 -0400 (0:00:00.091) 0:00:42.405 ********** 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:03:24 -0400 (0:00:00.067) 0:00:42.472 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:03:24 -0400 (0:00:00.045) 0:00:42.518 ********** 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:03:24 -0400 (0:00:00.035) 0:00:42.553 ********** 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:03:24 -0400 (0:00:00.035) 0:00:42.589 ********** 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:03:26 -0400 (0:00:01.639) 0:00:44.228 ********** 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:03:27 -0400 (0:00:01.534) 0:00:45.763 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:27 -0400 (0:00:00.038) 0:00:45.801 ********** 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:03:27 -0400 (0:00:00.035) 0:00:45.837 ********** 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:03:27 -0400 (0:00:00.034) 0:00:45.871 ********** 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:03:27 -0400 (0:00:00.036) 0:00:45.908 ********** 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:03:28 -0400 (0:00:00.042) 0:00:45.951 ********** 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:03:28 -0400 (0:00:00.036) 0:00:45.987 ********** 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:03:28 -0400 (0:00:00.046) 0:00:46.033 ********** 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:03:28 -0400 (0:00:00.070) 0:00:46.104 ********** 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:03:28 -0400 (0:00:00.035) 0:00:46.139 ********** 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:03:28 -0400 (0:00:00.068) 0:00:46.208 ********** 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:03:28 -0400 (0:00:00.040) 0:00:46.248 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:03:28 -0400 (0:00:00.036) 0:00:46.285 ********** 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:03:28 -0400 (0:00:00.035) 0:00:46.320 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:03:28 -0400 (0:00:00.542) 0:00:46.862 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpy1tvvcpr" } 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:03:29 -0400 (0:00:00.383) 0:00:47.245 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:29 -0400 (0:00:00.489) 0:00:47.735 ********** 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:03:29 -0400 (0:00:00.034) 0:00:47.770 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:29 -0400 (0:00:00.037) 0:00:47.807 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:29 -0400 (0:00:00.041) 0:00:47.848 ********** 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:03:29 -0400 (0:00:00.034) 0:00:47.883 ********** 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:03:30 -0400 (0:00:00.384) 0:00:48.268 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 14:03:30 -0400 (0:00:00.037) 0:00:48.305 ********** 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:03:30 -0400 (0:00:00.057) 0:00:48.363 ********** 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:03:30 -0400 (0:00:00.069) 0:00:48.432 ********** 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:03:30 -0400 (0:00:00.042) 0:00:48.475 ********** 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:03:30 -0400 (0:00:00.036) 0:00:48.511 ********** 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:03:30 -0400 (0:00:00.035) 0:00:48.547 ********** 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:03:32 -0400 (0:00:01.671) 0:00:50.219 ********** 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:03:33 -0400 (0:00:01.504) 0:00:51.724 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:33 -0400 (0:00:00.035) 0:00:51.759 ********** 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:03:33 -0400 (0:00:00.037) 0:00:51.797 ********** 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:03:33 -0400 (0:00:00.033) 0:00:51.831 ********** 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:03:33 -0400 (0:00:00.037) 0:00:51.868 ********** 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:03:33 -0400 (0:00:00.043) 0:00:51.911 ********** 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:03:34 -0400 (0:00:00.033) 0:00:51.945 ********** 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:03:34 -0400 (0:00:00.073) 0:00:52.019 ********** 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:03:34 -0400 (0:00:00.071) 0:00:52.090 ********** 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:03:34 -0400 (0:00:00.034) 0:00:52.125 ********** 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:03:34 -0400 (0:00:00.037) 0:00:52.162 ********** 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:03:34 -0400 (0:00:00.042) 0:00:52.204 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:03:34 -0400 (0:00:00.034) 0:00:52.239 ********** 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:03:34 -0400 (0:00:00.037) 0:00:52.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 : 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:03:34 -0400 (0:00:00.540) 0:00:52.816 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpxg6ja5z1" } 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:03:35 -0400 (0:00:00.386) 0:00:53.203 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:36 -0400 (0:00:00.742) 0:00:53.945 ********** 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:03:36 -0400 (0:00:00.066) 0:00:54.012 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:36 -0400 (0:00:00.035) 0:00:54.048 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:36 -0400 (0:00:00.039) 0:00:54.087 ********** 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:03:36 -0400 (0:00:00.034) 0:00:54.122 ********** 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:03:36 -0400 (0:00:00.369) 0:00:54.492 ********** 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:03:36 -0400 (0:00:00.062) 0:00:54.555 ********** 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:03:36 -0400 (0:00:00.067) 0:00:54.623 ********** 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:03:36 -0400 (0:00:00.068) 0:00:54.691 ********** 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:03:36 -0400 (0:00:00.042) 0:00:54.733 ********** 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:03:36 -0400 (0:00:00.033) 0:00:54.767 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:03:36 -0400 (0:00:00.036) 0:00:54.803 ********** 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:03:38 -0400 (0:00:01.638) 0:00:56.441 ********** 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:03:40 -0400 (0:00:01.507) 0:00:57.949 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:40 -0400 (0:00:00.061) 0:00:58.010 ********** 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:03:40 -0400 (0:00:00.034) 0:00:58.045 ********** 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:03:40 -0400 (0:00:00.035) 0:00:58.080 ********** 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:03:40 -0400 (0:00:00.036) 0:00:58.116 ********** 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:03:40 -0400 (0:00:00.043) 0:00:58.160 ********** 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:03:40 -0400 (0:00:00.035) 0:00:58.195 ********** 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:03:40 -0400 (0:00:00.040) 0:00:58.236 ********** 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:03:40 -0400 (0:00:00.068) 0:00:58.304 ********** 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:03:40 -0400 (0:00:00.036) 0:00:58.341 ********** 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:03:40 -0400 (0:00:00.032) 0:00:58.373 ********** 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:03:40 -0400 (0:00:00.037) 0:00:58.411 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:03:40 -0400 (0:00:00.036) 0:00:58.447 ********** 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:03:40 -0400 (0:00:00.033) 0:00:58.481 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:03:41 -0400 (0:00:00.535) 0:00:59.016 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpppz5rmwm" } 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:03:41 -0400 (0:00:00.381) 0:00:59.398 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:41 -0400 (0:00:00.492) 0:00:59.891 ********** 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:03:41 -0400 (0:00:00.036) 0:00:59.927 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:42 -0400 (0:00:00.035) 0:00:59.962 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:42 -0400 (0:00:00.037) 0:01:00.000 ********** 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:03:42 -0400 (0:00:00.036) 0:01:00.036 ********** 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:03:42 -0400 (0:00:00.362) 0:01:00.399 ********** 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:03:42 -0400 (0:00:00.069) 0:01:00.468 ********** 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:03:42 -0400 (0:00:00.057) 0:01:00.526 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362615.8523548, "block_size": 4096, "blocks": 0, "ctime": 1722362615.8523548, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62544, "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": 1722362615.8523548, "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:03:42 -0400 (0:00:00.374) 0:01:00.900 ********** 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:03:43 -0400 (0:00:00.067) 0:01:00.968 ********** 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:03:43 -0400 (0:00:00.060) 0:01:01.028 ********** 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:03:43 -0400 (0:00:00.035) 0:01:01.064 ********** 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:03:43 -0400 (0:00:00.372) 0:01:01.437 ********** 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:03:43 -0400 (0:00:00.033) 0:01:01.470 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020870", "end": "2024-07-30 14:03:43.855940", "rc": 1, "start": "2024-07-30 14:03:43.835070" } 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:03:43 -0400 (0:00:00.395) 0:01:01.866 ********** 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:03:43 -0400 (0:00:00.036) 0:01:01.902 ********** 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:03:43 -0400 (0:00:00.035) 0:01:01.937 ********** 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:03:44 -0400 (0:00:00.034) 0:01:01.972 ********** 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:03:44 -0400 (0:00:00.037) 0:01:02.009 ********** 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:03:44 -0400 (0:00:00.035) 0:01:02.045 ********** 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:03:44 -0400 (0:00:00.037) 0:01:02.083 ********** 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:03:44 -0400 (0:00:00.068) 0:01:02.151 ********** 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:03:44 -0400 (0:00:00.037) 0:01:02.188 ********** 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:03:44 -0400 (0:00:00.065) 0:01:02.254 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050776", "end": "2024-07-30 14:03:44.667908", "rc": 0, "start": "2024-07-30 14:03:44.617132" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:03:44 -0400 (0:00:00.428) 0:01:02.682 ********** 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:03:44 -0400 (0:00:00.060) 0:01:02.742 ********** 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:03:44 -0400 (0:00:00.035) 0:01:02.778 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:03:44 -0400 (0:00:00.079) 0:01:02.857 ********** 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:03:44 -0400 (0:00:00.054) 0:01:02.911 ********** 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:03:45 -0400 (0:00:00.054) 0:01:02.966 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002973", "end": "2024-07-30 14:03:45.330036", "rc": 0, "start": "2024-07-30 14:03:45.327063" } 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:03:45 -0400 (0:00:00.375) 0:01:03.341 ********** 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:03:45 -0400 (0:00:00.065) 0:01:03.406 ********** 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:03:45 -0400 (0:00:00.036) 0:01:03.443 ********** 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:03:45 -0400 (0:00:00.071) 0:01:03.515 ********** 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:03:45 -0400 (0:00:00.060) 0:01:03.575 ********** 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:03:45 -0400 (0:00:00.066) 0:01:03.641 ********** 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:03:45 -0400 (0:00:00.042) 0:01:03.684 ********** 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:03:45 -0400 (0:00:00.032) 0:01:03.717 ********** 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:03:45 -0400 (0:00:00.036) 0:01:03.754 ********** 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:03:47 -0400 (0:00:01.631) 0:01:05.385 ********** 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:03:48 -0400 (0:00:01.506) 0:01:06.892 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:48 -0400 (0:00:00.038) 0:01:06.930 ********** 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:03:49 -0400 (0:00:00.036) 0:01:06.967 ********** 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:03:49 -0400 (0:00:00.034) 0:01:07.002 ********** 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:03:49 -0400 (0:00:00.037) 0:01:07.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 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:03:49 -0400 (0:00:00.040) 0:01:07.080 ********** 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:03:49 -0400 (0:00:00.069) 0:01:07.149 ********** 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:03:49 -0400 (0:00:00.039) 0:01:07.188 ********** 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:03:49 -0400 (0:00:00.069) 0:01:07.257 ********** 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:03:49 -0400 (0:00:00.036) 0:01:07.294 ********** 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:03:49 -0400 (0:00:00.037) 0:01:07.332 ********** 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:03:49 -0400 (0:00:00.038) 0:01:07.370 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:03:49 -0400 (0:00:00.036) 0:01:07.407 ********** 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:03:49 -0400 (0:00:00.033) 0:01:07.441 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:03:50 -0400 (0:00:00.549) 0:01:07.990 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpev8ib548" } 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:03:50 -0400 (0:00:00.386) 0:01:08.376 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:50 -0400 (0:00:00.489) 0:01:08.866 ********** 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:03:50 -0400 (0:00:00.067) 0:01:08.934 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:51 -0400 (0:00:00.038) 0:01:08.973 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:51 -0400 (0:00:00.040) 0:01:09.013 ********** 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:03:51 -0400 (0:00:00.033) 0:01:09.046 ********** 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:03:51 -0400 (0:00:00.364) 0:01:09.411 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 14:03:51 -0400 (0:00:00.039) 0:01:09.450 ********** 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:03:51 -0400 (0:00:00.058) 0:01:09.509 ********** 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:03:51 -0400 (0:00:00.066) 0:01:09.576 ********** 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:03:51 -0400 (0:00:00.042) 0:01:09.618 ********** 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:03:51 -0400 (0:00:00.032) 0:01:09.651 ********** 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:03:51 -0400 (0:00:00.037) 0:01:09.688 ********** 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:03:53 -0400 (0:00:01.648) 0:01:11.336 ********** 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:03:54 -0400 (0:00:01.509) 0:01:12.846 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:03:54 -0400 (0:00:00.036) 0:01:12.882 ********** 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:03:54 -0400 (0:00:00.036) 0:01:12.918 ********** 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:03:55 -0400 (0:00:00.062) 0:01:12.981 ********** 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:03:55 -0400 (0:00:00.034) 0:01:13.016 ********** 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:03:55 -0400 (0:00:00.042) 0:01:13.058 ********** 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:03:55 -0400 (0:00:00.037) 0:01:13.095 ********** 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:03:55 -0400 (0:00:00.039) 0:01:13.135 ********** 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:03:55 -0400 (0:00:00.071) 0:01:13.206 ********** 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:03:55 -0400 (0:00:00.033) 0:01:13.240 ********** 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:03:55 -0400 (0:00:00.034) 0:01:13.275 ********** 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:03:55 -0400 (0:00:00.037) 0:01:13.312 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:03:55 -0400 (0:00:00.037) 0:01:13.349 ********** 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:03:55 -0400 (0:00:00.034) 0:01:13.384 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:03:55 -0400 (0:00:00.536) 0:01:13.920 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmp8yl3gbp6" } 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:03:56 -0400 (0:00:00.384) 0:01:14.304 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:03:57 -0400 (0:00:00.779) 0:01:15.084 ********** 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:03:57 -0400 (0:00:00.032) 0:01:15.116 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:03:57 -0400 (0:00:00.038) 0:01:15.155 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:03:57 -0400 (0:00:00.040) 0:01:15.195 ********** 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:03:57 -0400 (0:00:00.034) 0:01:15.230 ********** 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:03:57 -0400 (0:00:00.364) 0:01:15.594 ********** 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:03:57 -0400 (0:00:00.059) 0:01:15.654 ********** 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:03:57 -0400 (0:00:00.067) 0:01:15.721 ********** 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:03:57 -0400 (0:00:00.044) 0:01:15.765 ********** 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:03:57 -0400 (0:00:00.035) 0:01:15.801 ********** 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:03:57 -0400 (0:00:00.066) 0:01:15.868 ********** 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:03:59 -0400 (0:00:01.632) 0:01:17.501 ********** 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:01 -0400 (0:00:01.505) 0:01:19.006 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:04:01 -0400 (0:00:00.065) 0:01:19.071 ********** 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:01 -0400 (0:00:00.036) 0:01:19.108 ********** 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:01 -0400 (0:00:00.036) 0:01:19.145 ********** 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:01 -0400 (0:00:00.035) 0:01:19.180 ********** 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:01 -0400 (0:00:00.043) 0:01:19.224 ********** 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:01 -0400 (0:00:00.035) 0:01:19.259 ********** 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:01 -0400 (0:00:00.042) 0:01:19.301 ********** 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:01 -0400 (0:00:00.067) 0:01:19.369 ********** 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:01 -0400 (0:00:00.036) 0:01:19.406 ********** 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:01 -0400 (0:00:00.035) 0:01:19.441 ********** 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:01 -0400 (0:00:00.041) 0:01:19.483 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:04:01 -0400 (0:00:00.037) 0:01:19.521 ********** 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:01 -0400 (0:00:00.034) 0:01:19.555 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:04:02 -0400 (0:00:00.545) 0:01:20.101 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpe7no5evr" } 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:02 -0400 (0:00:00.388) 0:01:20.490 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:04:03 -0400 (0:00:00.507) 0:01:20.998 ********** 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:03 -0400 (0:00:00.034) 0:01:21.033 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:04:03 -0400 (0:00:00.039) 0:01:21.072 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:04:03 -0400 (0:00:00.036) 0:01:21.109 ********** 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:03 -0400 (0:00:00.037) 0:01:21.146 ********** 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:04:03 -0400 (0:00:00.366) 0:01:21.513 ********** 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:04:03 -0400 (0:00:00.061) 0:01:21.574 ********** 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:03 -0400 (0:00:00.069) 0:01:21.644 ********** 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:03 -0400 (0:00:00.099) 0:01:21.743 ********** 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:03 -0400 (0:00:00.045) 0:01:21.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:04:03 -0400 (0:00:00.034) 0:01:21.823 ********** 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:03 -0400 (0:00:00.036) 0:01:21.860 ********** 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:05 -0400 (0:00:01.643) 0:01:23.503 ********** 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:07 -0400 (0:00:01.534) 0:01:25.037 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:04:07 -0400 (0:00:00.036) 0:01:25.074 ********** 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:07 -0400 (0:00:00.035) 0:01:25.109 ********** 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:07 -0400 (0:00:00.036) 0:01:25.146 ********** 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:07 -0400 (0:00:00.035) 0:01:25.181 ********** 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:07 -0400 (0:00:00.043) 0:01:25.225 ********** 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:07 -0400 (0:00:00.034) 0:01:25.260 ********** 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:07 -0400 (0:00:00.041) 0:01:25.301 ********** 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:07 -0400 (0:00:00.069) 0:01:25.371 ********** 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:07 -0400 (0:00:00.036) 0:01:25.407 ********** 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:07 -0400 (0:00:00.034) 0:01:25.442 ********** 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:07 -0400 (0:00:00.041) 0:01:25.484 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:04:07 -0400 (0:00:00.035) 0:01:25.520 ********** 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:07 -0400 (0:00:00.033) 0:01:25.554 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:04:08 -0400 (0:00:00.538) 0:01:26.092 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmp37a4y3j7" } 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:08 -0400 (0:00:00.386) 0:01:26.479 ********** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:04:09 -0400 (0:00:00.488) 0:01:26.967 ********** 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:09 -0400 (0:00:00.034) 0:01:27.002 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:04:09 -0400 (0:00:00.037) 0:01:27.040 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:04:09 -0400 (0:00:00.040) 0:01:27.081 ********** 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:09 -0400 (0:00:00.035) 0:01:27.116 ********** 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:04:09 -0400 (0:00:00.369) 0:01:27.486 ********** 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:04:09 -0400 (0:00:00.065) 0:01:27.551 ********** 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:09 -0400 (0:00:00.095) 0:01:27.647 ********** 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:09 -0400 (0:00:00.038) 0:01:27.686 ********** 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:04:10 -0400 (0:00:00.374) 0:01:28.060 ********** 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:04:10 -0400 (0:00:00.035) 0:01:28.096 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020432", "end": "2024-07-30 14:04:10.478259", "rc": 1, "start": "2024-07-30 14:04:10.457827" } 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:04:10 -0400 (0:00:00.393) 0:01:28.490 ********** 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:04:10 -0400 (0:00:00.038) 0:01:28.528 ********** 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:10 -0400 (0:00:00.040) 0:01:28.568 ********** 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:10 -0400 (0:00:00.036) 0:01:28.605 ********** 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:10 -0400 (0:00:00.038) 0:01:28.643 ********** 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:04:10 -0400 (0:00:00.036) 0:01:28.680 ********** 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:10 -0400 (0:00:00.039) 0:01:28.720 ********** skipping: [managed_node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:04:10 -0400 (0:00:00.041) 0:01:28.762 ********** 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:04:10 -0400 (0:00:00.036) 0:01:28.798 ********** 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:10 -0400 (0:00:00.101) 0:01:28.900 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050600", "end": "2024-07-30 14:04:11.311709", "rc": 0, "start": "2024-07-30 14:04:11.261109" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:04:11 -0400 (0:00:00.423) 0:01:29.323 ********** 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:04:11 -0400 (0:00:00.061) 0:01:29.385 ********** 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:04:11 -0400 (0:00:00.038) 0:01:29.424 ********** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 14:04:11 -0400 (0:00:00.076) 0:01:29.500 ********** 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:11 -0400 (0:00:00.058) 0:01:29.558 ********** 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:11 -0400 (0:00:00.054) 0:01:29.613 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002935", "end": "2024-07-30 14:04:11.977932", "rc": 0, "start": "2024-07-30 14:04:11.974997" } 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:12 -0400 (0:00:00.377) 0:01:29.991 ********** 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:12 -0400 (0:00:00.037) 0:01:30.029 ********** 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:12 -0400 (0:00:00.037) 0:01:30.066 ********** 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:04:12 -0400 (0:00:00.106) 0:01:30.173 ********** 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:12 -0400 (0:00:00.059) 0:01:30.232 ********** 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:12 -0400 (0:00:00.072) 0:01:30.305 ********** 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:12 -0400 (0:00:00.041) 0:01:30.347 ********** 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:12 -0400 (0:00:00.037) 0:01:30.384 ********** 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:12 -0400 (0:00:00.034) 0:01:30.419 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:14 -0400 (0:00:01.668) 0:01:32.088 ********** 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:15 -0400 (0:00:01.518) 0:01:33.606 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:04:15 -0400 (0:00:00.037) 0:01:33.644 ********** 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:15 -0400 (0:00:00.036) 0:01:33.681 ********** 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:15 -0400 (0:00:00.035) 0:01:33.716 ********** 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:15 -0400 (0:00:00.037) 0:01:33.753 ********** 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:15 -0400 (0:00:00.043) 0:01:33.797 ********** 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:15 -0400 (0:00:00.037) 0:01:33.835 ********** 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:15 -0400 (0:00:00.078) 0:01:33.913 ********** 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:16 -0400 (0:00:00.070) 0:01:33.983 ********** 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:16 -0400 (0:00:00.035) 0:01:34.018 ********** 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:16 -0400 (0:00:00.037) 0:01:34.055 ********** 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:16 -0400 (0:00:00.041) 0:01:34.096 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:04:16 -0400 (0:00:00.035) 0:01:34.132 ********** 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:16 -0400 (0:00:00.036) 0:01:34.169 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:04:16 -0400 (0:00:00.547) 0:01:34.716 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpgh40bx9u" } 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:17 -0400 (0:00:00.394) 0:01:35.111 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:04:17 -0400 (0:00:00.504) 0:01:35.615 ********** 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:17 -0400 (0:00:00.036) 0:01:35.651 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:04:17 -0400 (0:00:00.077) 0:01:35.729 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:04:17 -0400 (0:00:00.039) 0:01:35.768 ********** 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:17 -0400 (0:00:00.035) 0:01:35.804 ********** 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:18 -0400 (0:00:00.376) 0:01:36.181 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 14:04:18 -0400 (0:00:00.038) 0:01:36.219 ********** 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:18 -0400 (0:00:00.061) 0:01:36.280 ********** 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:18 -0400 (0:00:00.066) 0:01:36.346 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:04:18 -0400 (0:00:00.043) 0:01:36.390 ********** 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:18 -0400 (0:00:00.037) 0:01:36.427 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:04:18 -0400 (0:00:00.037) 0:01:36.464 ********** 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:20 -0400 (0:00:01.699) 0:01:38.164 ********** 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:21 -0400 (0:00:01.522) 0:01:39.686 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:04:21 -0400 (0:00:00.038) 0:01:39.725 ********** 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:21 -0400 (0:00:00.034) 0:01:39.759 ********** 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:21 -0400 (0:00:00.035) 0:01:39.795 ********** 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:21 -0400 (0:00:00.062) 0:01:39.858 ********** 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:21 -0400 (0:00:00.042) 0:01:39.900 ********** 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:21 -0400 (0:00:00.036) 0:01:39.936 ********** 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:22 -0400 (0:00:00.041) 0:01:39.978 ********** 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:22 -0400 (0:00:00.070) 0:01:40.048 ********** 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:22 -0400 (0:00:00.033) 0:01:40.082 ********** 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:22 -0400 (0:00:00.036) 0:01:40.118 ********** 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:22 -0400 (0:00:00.042) 0:01:40.161 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:04:22 -0400 (0:00:00.034) 0:01:40.195 ********** 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:22 -0400 (0:00:00.037) 0:01:40.233 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:04:22 -0400 (0:00:00.542) 0:01:40.775 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmplx_brlfs" } 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:23 -0400 (0:00:00.390) 0:01:41.166 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:04:24 -0400 (0:00:00.782) 0:01:41.948 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:04:24 -0400 (0:00:00.035) 0:01:41.983 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:04:24 -0400 (0:00:00.040) 0:01:42.024 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:04:24 -0400 (0:00:00.036) 0:01:42.060 ********** 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:24 -0400 (0:00:00.035) 0:01:42.096 ********** 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:04:24 -0400 (0:00:00.368) 0:01:42.465 ********** 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:24 -0400 (0:00:00.059) 0:01:42.524 ********** 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:24 -0400 (0:00:00.068) 0:01:42.592 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:24 -0400 (0:00:00.043) 0:01:42.636 ********** 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:24 -0400 (0:00:00.036) 0:01:42.673 ********** 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:24 -0400 (0:00:00.033) 0:01:42.707 ********** 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:26 -0400 (0:00:01.714) 0:01:44.421 ********** 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:28 -0400 (0:00:01.539) 0:01:45.960 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:04:28 -0400 (0:00:00.037) 0:01:45.998 ********** 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:28 -0400 (0:00:00.037) 0:01:46.036 ********** 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:28 -0400 (0:00:00.035) 0:01:46.071 ********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the 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:28 -0400 (0:00:00.036) 0:01:46.108 ********** 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:28 -0400 (0:00:00.043) 0:01:46.152 ********** 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:28 -0400 (0:00:00.037) 0:01:46.190 ********** 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:28 -0400 (0:00:00.040) 0:01:46.230 ********** 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:28 -0400 (0:00:00.070) 0:01:46.300 ********** 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:28 -0400 (0:00:00.036) 0:01:46.337 ********** 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:28 -0400 (0:00:00.033) 0:01:46.370 ********** 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:28 -0400 (0:00:00.041) 0:01:46.412 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:04:28 -0400 (0:00:00.035) 0:01:46.448 ********** 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:28 -0400 (0:00:00.034) 0:01:46.482 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:04:29 -0400 (0:00:00.551) 0:01:47.034 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmp_i2sf8wh" } 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:29 -0400 (0:00:00.401) 0:01:47.436 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:04:30 -0400 (0:00:00.517) 0:01:47.953 ********** 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:30 -0400 (0:00:00.034) 0:01:47.987 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:04:30 -0400 (0:00:00.038) 0:01:48.026 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:04:30 -0400 (0:00:00.040) 0:01:48.066 ********** 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:30 -0400 (0:00:00.034) 0:01:48.100 ********** 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:04:30 -0400 (0:00:00.370) 0:01:48.470 ********** 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:04:30 -0400 (0:00:00.061) 0:01:48.532 ********** 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:30 -0400 (0:00:00.059) 0:01:48.591 ********** 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:30 -0400 (0:00:00.102) 0:01:48.694 ********** 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:30 -0400 (0:00:00.043) 0:01:48.737 ********** 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:30 -0400 (0:00:00.033) 0:01:48.771 ********** 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:30 -0400 (0:00:00.037) 0:01:48.809 ********** 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:32 -0400 (0:00:01.698) 0:01:50.507 ********** 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:34 -0400 (0:00:01.506) 0:01:52.013 ********** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:04:34 -0400 (0:00:00.037) 0:01:52.051 ********** 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:34 -0400 (0:00:00.038) 0:01:52.089 ********** 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:34 -0400 (0:00:00.034) 0:01:52.124 ********** 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:34 -0400 (0:00:00.034) 0:01:52.158 ********** 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:34 -0400 (0:00:00.041) 0:01:52.200 ********** 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:34 -0400 (0:00:00.034) 0:01:52.235 ********** 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:34 -0400 (0:00:00.040) 0:01:52.276 ********** 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:34 -0400 (0:00:00.073) 0:01:52.349 ********** 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:34 -0400 (0:00:00.036) 0:01:52.385 ********** 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:34 -0400 (0:00:00.034) 0:01:52.420 ********** 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:34 -0400 (0:00:00.043) 0:01:52.463 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:04:34 -0400 (0:00:00.073) 0:01:52.536 ********** 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:34 -0400 (0:00:00.035) 0:01:52.572 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:04:35 -0400 (0:00:00.544) 0:01:53.117 ********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41422iuukyt8r/tmpbgl1zyqa" } 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:35 -0400 (0:00:00.389) 0:01:53.507 ********** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:04:36 -0400 (0:00:00.490) 0:01:53.997 ********** 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:36 -0400 (0:00:00.035) 0:01:54.033 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:04:36 -0400 (0:00:00.040) 0:01:54.073 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:04:36 -0400 (0:00:00.037) 0:01:54.111 ********** 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:36 -0400 (0:00:00.037) 0:01:54.148 ********** 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:04:36 -0400 (0:00:00.373) 0:01:54.521 ********** 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:04:36 -0400 (0:00:00.107) 0:01:54.628 ********** 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:36 -0400 (0:00:00.062) 0:01:54.691 ********** 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:36 -0400 (0:00:00.038) 0:01:54.729 ********** 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:04:37 -0400 (0:00:00.379) 0:01:55.108 ********** 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:04:37 -0400 (0:00:00.034) 0:01:55.143 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020612", "end": "2024-07-30 14:04:37.532397", "rc": 1, "start": "2024-07-30 14:04:37.511785" } 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:04:37 -0400 (0:00:00.400) 0:01:55.543 ********** 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:04:37 -0400 (0:00:00.038) 0:01:55.581 ********** 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:37 -0400 (0:00:00.037) 0:01:55.619 ********** 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:37 -0400 (0:00:00.038) 0:01:55.657 ********** 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:37 -0400 (0:00:00.038) 0:01:55.696 ********** 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:04:37 -0400 (0:00:00.037) 0:01:55.733 ********** 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:04:37 -0400 (0:00:00.041) 0:01:55.774 ********** [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.947707", "end": "2024-07-30 14:04:39.094351", "rc": 0, "start": "2024-07-30 14:04:38.146644" } 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:04:39 -0400 (0:00:01.331) 0:01:57.105 ********** 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:04:39 -0400 (0:00:00.036) 0:01:57.142 ********** 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:04:39 -0400 (0:00:00.036) 0:01:57.179 ********** skipping: [managed_node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 14:04:39 -0400 (0:00:00.041) 0:01:57.221 ********** 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:04:39 -0400 (0:00:00.038) 0:01:57.259 ********** 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:04:39 -0400 (0:00:00.074) 0:01:57.333 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.051597", "end": "2024-07-30 14:04:39.753973", "rc": 0, "start": "2024-07-30 14:04:39.702376" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:04:39 -0400 (0:00:00.433) 0:01:57.767 ********** 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.008463", "end": "2024-07-30 14:04:40.145255", "rc": 0, "start": "2024-07-30 14:04:40.136792" } 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 3271sec preferred_lft 3271sec 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:04:40 -0400 (0:00:00.426) 0:01:58.194 ********** 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.293202", "end": "2024-07-30 14:04:40.864818", "rc": 0, "start": "2024-07-30 14:04:40.571616" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1980 0 --:--:-- --:--:-- --:--:-- 1980 % 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 3592 0 --:--:-- --:--:-- --:--:-- 3592 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Tuesday 30 July 2024 14:04:40 -0400 (0:00:00.663) 0:01:58.857 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.77s /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.74s /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.71s /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.70s /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.70s /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.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.66s /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.56s /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.56s /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.54s /tmp/tmp.jZMtMjuu71/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26