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.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Sunday 04 August 2024 14:10:15 -0400 (0:00:00.020) 0:00:00.020 ********* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Sunday 04 August 2024 14:10:15 -0400 (0:00:00.931) 0:00:00.951 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 14:10:15 -0400 (0:00:00.037) 0:00:00.988 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 14:10:16 -0400 (0:00:00.500) 0:00:01.489 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 14:10:16 -0400 (0:00:00.459) 0:00:01.948 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 14:10:16 -0400 (0:00:00.041) 0:00:01.990 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 14:10:17 -0400 (0:00:00.037) 0:00:02.027 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 14:10:17 -0400 (0:00:00.066) 0:00:02.093 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 14:10:17 -0400 (0:00:00.429) 0:00:02.523 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 14:10:17 -0400 (0:00:00.018) 0:00:02.542 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 14:10:17 -0400 (0:00:00.017) 0:00:02.559 ********* [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.237487", "end": "2024-08-04 14:10:18.099495", "rc": 0, "start": "2024-08-04 14:10:17.862008" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.582) 0:00:03.141 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.016) 0:00:03.158 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.018) 0:00:03.176 ********* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.647) 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.018) 0:00:03.843 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 14:10:18 -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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.019) 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.064) 0:00:03.956 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:10:18 -0400 (0:00:00.026) 0:00:03.982 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:10:19 -0400 (0:00:00.023) 0:00:04.006 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003003", "end": "2024-08-04 14:10:19.306569", "rc": 0, "start": "2024-08-04 14:10:19.303566" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:10:19 -0400 (0:00:00.344) 0:00:04.350 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:10:19 -0400 (0:00:00.020) 0:00:04.371 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 14:10:19 -0400 (0:00:00.018) 0:00:04.390 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 14:10:19 -0400 (0:00:00.038) 0:00:04.428 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007644", "end": "2024-08-04 14:10:19.736277", "rc": 1, "start": "2024-08-04 14:10:19.728633" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 14:10:19 -0400 (0:00:00.350) 0:00:04.779 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:10:19 -0400 (0:00:00.026) 0:00:04.806 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.340) 0:00:05.147 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.022) 0:00:05.169 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.031) 0:00:05.200 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.102) 0:00:05.303 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.038) 0:00:05.342 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.019) 0:00:05.361 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.018) 0:00:05.380 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:10:20 -0400 (0:00:00.018) 0:00:05.398 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:10:22 -0400 (0:00:01.744) 0:00:07.142 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:10:23 -0400 (0:00:01.624) 0:00:08.767 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:10:23 -0400 (0:00:00.052) 0:00:08.820 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:10:23 -0400 (0:00:00.036) 0:00:08.857 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:10:23 -0400 (0:00:00.035) 0:00:08.892 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:10:23 -0400 (0:00:00.035) 0:00:08.927 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:10:23 -0400 (0:00:00.044) 0:00:08.971 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.035) 0:00:09.007 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.044) 0:00:09.051 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.074) 0:00:09.125 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.036) 0:00:09.161 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.035) 0:00:09.197 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.042) 0:00:09.239 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.037) 0:00:09.276 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:10:24 -0400 (0:00:00.034) 0:00:09.311 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:10:25 -0400 (0:00:00.785) 0:00:10.097 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmphafngf1f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:10:25 -0400 (0:00:00.375) 0:00:10.473 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.676) 0:00:11.150 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.035) 0:00:11.185 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.038) 0:00:11.224 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.039) 0:00:11.263 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.035) 0:00:11.299 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.474) 0:00:11.773 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.039) 0:00:11.813 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.067) 0:00:11.880 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 14:10:26 -0400 (0:00:00.089) 0:00:11.969 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 14:10:27 -0400 (0:00:00.037) 0:00:12.007 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722795026.086, "block_size": 4096, "blocks": 8, "ctime": 1722795026.086, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722795026.086, "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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 14:10:27 -0400 (0:00:00.373) 0:00:12.380 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 14:10:27 -0400 (0:00:00.038) 0:00:12.418 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020905", "end": "2024-08-04 14:10:27.740786", "rc": 1, "start": "2024-08-04 14:10:27.719881" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 14:10:27 -0400 (0:00:00.383) 0:00:12.802 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 14:10:27 -0400 (0:00:00.037) 0:00:12.839 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002886", "end": "2024-08-04 14:10:28.149721", "rc": 0, "start": "2024-08-04 14:10:28.146835" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.373) 0:00:13.213 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.046) 0:00:13.259 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003775", "end": "2024-08-04 14:10:28.572115", "rc": 0, "start": "2024-08-04 14:10:28.568340" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.375) 0:00:13.635 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.046) 0:00:13.681 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.041) 0:00:13.722 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.090) 0:00:13.813 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.040) 0:00:13.853 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.042) 0:00:13.896 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 14:10:28 -0400 (0:00:00.037) 0:00:13.934 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 14:10:29 -0400 (0:00:00.068) 0:00:14.003 ********* 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.037182", "end": "2024-08-04 14:10:29.342218", "rc": 1, "start": "2024-08-04 14:10:29.305036" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Sunday 04 August 2024 14:10:29 -0400 (0:00:00.399) 0:00:14.402 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 14:10:29 -0400 (0:00:00.063) 0:00:14.465 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 14:10:29 -0400 (0:00:00.038) 0:00:14.503 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 14:10:29 -0400 (0:00:00.084) 0:00:14.588 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:10:29 -0400 (0:00:00.059) 0:00:14.647 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:10:29 -0400 (0:00:00.087) 0:00:14.735 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002984", "end": "2024-08-04 14:10:30.046795", "rc": 0, "start": "2024-08-04 14:10:30.043811" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:10:30 -0400 (0:00:00.374) 0:00:15.109 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:10:30 -0400 (0:00:00.039) 0:00:15.149 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 14:10:30 -0400 (0:00:00.038) 0:00:15.188 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 14:10:30 -0400 (0:00:00.071) 0:00:15.259 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005498", "end": "2024-08-04 14:10:30.567161", "rc": 1, "start": "2024-08-04 14:10:30.561663" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 14:10:30 -0400 (0:00:00.366) 0:00:15.626 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:10:30 -0400 (0:00:00.059) 0:00:15.686 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.363) 0:00:16.050 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.040) 0:00:16.091 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.067) 0:00:16.158 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.101) 0:00:16.260 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.072) 0:00:16.332 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.045) 0:00:16.377 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.036) 0:00:16.414 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:10:31 -0400 (0:00:00.036) 0:00:16.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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:10:33 -0400 (0:00:01.642) 0:00:18.092 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:10:34 -0400 (0:00:01.460) 0:00:19.552 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.038) 0:00:19.590 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.036) 0:00:19.626 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.036) 0:00:19.663 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.036) 0:00:19.699 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.044) 0:00:19.744 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.036) 0:00:19.780 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.041) 0:00:19.821 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.075) 0:00:19.896 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:10:34 -0400 (0:00:00.061) 0:00:19.958 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:10:35 -0400 (0:00:00.036) 0:00:19.994 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:10:35 -0400 (0:00:00.042) 0:00:20.036 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:10:35 -0400 (0:00:00.036) 0:00:20.073 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:10:35 -0400 (0:00:00.035) 0:00:20.108 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:10:35 -0400 (0:00:00.524) 0:00:20.633 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpzci_oglh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:10:36 -0400 (0:00:00.373) 0:00:21.006 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:10:36 -0400 (0:00:00.489) 0:00:21.495 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:10:36 -0400 (0:00:00.036) 0:00:21.532 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:10:36 -0400 (0:00:00.040) 0:00:21.572 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:10:36 -0400 (0:00:00.040) 0:00:21.612 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:10:36 -0400 (0:00:00.036) 0:00:21.649 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.361) 0:00:22.010 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.039) 0:00:22.050 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.076) 0:00:22.126 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.059) 0:00:22.186 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.366) 0:00:22.552 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.041) 0:00:22.594 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.065) 0:00:22.659 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 14:10:37 -0400 (0:00:00.037) 0:00:22.697 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722795036.4300458, "block_size": 4096, "blocks": 8, "ctime": 1722795036.4330459, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722795036.4330459, "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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 14:10:38 -0400 (0:00:00.367) 0:00:23.064 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 14:10:38 -0400 (0:00:00.039) 0:00:23.104 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018301", "end": "2024-08-04 14:10:38.434461", "rc": 1, "start": "2024-08-04 14:10:38.416160" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 14:10:38 -0400 (0:00:00.389) 0:00:23.494 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 14:10:38 -0400 (0:00:00.037) 0:00:23.531 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004026", "end": "2024-08-04 14:10:39.844008", "rc": 0, "start": "2024-08-04 14:10:38.839982" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 14:10:39 -0400 (0:00:01.377) 0:00:24.908 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 14:10:39 -0400 (0:00:00.045) 0:00:24.954 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002878", "end": "2024-08-04 14:10:40.262526", "rc": 0, "start": "2024-08-04 14:10:40.259648" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.372) 0:00:25.326 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.046) 0:00:25.373 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.041) 0:00:25.414 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.042) 0:00:25.456 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.040) 0:00:25.497 ********* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.054) 0:00:25.551 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.039) 0:00:25.591 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 14:10:40 -0400 (0:00:00.068) 0:00:25.660 ********* 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.040194", "end": "2024-08-04 14:10:41.006952", "rc": 1, "start": "2024-08-04 14:10:40.966758" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.407) 0:00:26.067 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.062) 0:00:26.130 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.038) 0:00:26.168 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.081) 0:00:26.250 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.058) 0:00:26.308 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.057) 0:00:26.365 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002991", "end": "2024-08-04 14:10:41.670744", "rc": 0, "start": "2024-08-04 14:10:41.667753" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.394) 0:00:26.760 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.038) 0:00:26.798 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.037) 0:00:26.836 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.064) 0:00:26.900 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:10:41 -0400 (0:00:00.062) 0:00:26.962 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:10:42 -0400 (0:00:00.070) 0:00:27.033 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:10:42 -0400 (0:00:00.045) 0:00:27.078 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:10:42 -0400 (0:00:00.037) 0:00:27.116 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:10:42 -0400 (0:00:00.035) 0:00:27.151 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:10:43 -0400 (0:00:01.596) 0:00:28.748 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:10:45 -0400 (0:00:01.426) 0:00:30.174 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.039) 0:00:30.213 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.035) 0:00:30.248 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.036) 0:00:30.285 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.036) 0:00:30.321 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.044) 0:00:30.366 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.062) 0:00:30.428 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.043) 0:00:30.472 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.077) 0:00:30.549 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.038) 0:00:30.587 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.039) 0:00:30.626 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.043) 0:00:30.670 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.038) 0:00:30.709 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:10:45 -0400 (0:00:00.037) 0:00:30.746 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:10:46 -0400 (0:00:00.534) 0:00:31.281 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmp7qgzef69" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:10:46 -0400 (0:00:00.375) 0:00:31.657 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.495) 0:00:32.152 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.064) 0:00:32.217 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.039) 0:00:32.257 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.041) 0:00:32.298 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.038) 0:00:32.336 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.361) 0:00:32.698 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.041) 0:00:32.739 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.065) 0:00:32.804 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.075) 0:00:32.879 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:10:47 -0400 (0:00:00.071) 0:00:32.951 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:10:48 -0400 (0:00:00.046) 0:00:32.997 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:10:48 -0400 (0:00:00.037) 0:00:33.035 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:10:48 -0400 (0:00:00.036) 0:00:33.072 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:10:49 -0400 (0:00:01.686) 0:00:34.759 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:10:51 -0400 (0:00:01.438) 0:00:36.198 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.038) 0:00:36.237 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.036) 0:00:36.273 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.058) 0:00:36.332 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.037) 0:00:36.369 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.043) 0:00:36.413 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.036) 0:00:36.449 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.042) 0:00:36.491 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.075) 0:00:36.567 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.036) 0:00:36.604 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.037) 0:00:36.641 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.042) 0:00:36.684 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.035) 0:00:36.719 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:10:51 -0400 (0:00:00.036) 0:00:36.755 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:10:52 -0400 (0:00:00.530) 0:00:37.285 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpphmtmtdj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:10:52 -0400 (0:00:00.370) 0:00:37.656 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:10:53 -0400 (0:00:00.770) 0:00:38.426 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:10:53 -0400 (0:00:00.036) 0:00:38.463 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:10:53 -0400 (0:00:00.038) 0:00:38.502 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:10:53 -0400 (0:00:00.039) 0:00:38.541 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:10:53 -0400 (0:00:00.035) 0:00:38.577 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 14:10:53 -0400 (0:00:00.359) 0:00:38.936 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 14:10:54 -0400 (0:00:00.075) 0:00:39.012 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:10:54 -0400 (0:00:00.060) 0:00:39.073 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722795053.2833502, "block_size": 4096, "blocks": 0, "ctime": 1722795053.2833502, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62472, "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": 1722795053.2833502, "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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 14:10:54 -0400 (0:00:00.365) 0:00:39.439 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 14:10:54 -0400 (0:00:00.067) 0:00:39.506 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 14:10:54 -0400 (0:00:00.065) 0:00:39.571 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 14:10:54 -0400 (0:00:00.038) 0:00:39.610 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722795053.1261199, "block_size": 4096, "blocks": 8, "ctime": 1722795047.089093, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722795047.089093, "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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 14:10:54 -0400 (0:00:00.370) 0:00:39.981 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 14:10:55 -0400 (0:00:00.039) 0:00:40.021 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021623", "end": "2024-08-04 14:10:55.343853", "rc": 1, "start": "2024-08-04 14:10:55.322230" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 14:10:55 -0400 (0:00:00.383) 0:00:40.404 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 14:10:55 -0400 (0:00:00.037) 0:00:40.442 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002866", "end": "2024-08-04 14:10:55.757980", "rc": 0, "start": "2024-08-04 14:10:55.755114" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 14:10:55 -0400 (0:00:00.378) 0:00:40.821 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 14:10:55 -0400 (0:00:00.045) 0:00:40.866 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002791", "end": "2024-08-04 14:10:56.179245", "rc": 0, "start": "2024-08-04 14:10:56.176454" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.373) 0:00:41.240 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.072) 0:00:41.312 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.041) 0:00:41.354 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.041) 0:00:41.396 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.039) 0:00:41.436 ********* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.033) 0:00:41.470 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.038) 0:00:41.508 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 14:10:56 -0400 (0:00:00.067) 0:00:41.576 ********* 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.050356", "end": "2024-08-04 14:10:56.929984", "rc": 0, "start": "2024-08-04 14:10:56.879628" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.418) 0:00:41.994 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.063) 0:00:42.058 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.038) 0:00:42.096 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.081) 0:00:42.177 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.059) 0:00:42.236 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.086) 0:00:42.323 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002917", "end": "2024-08-04 14:10:57.630171", "rc": 0, "start": "2024-08-04 14:10:57.627254" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.367) 0:00:42.690 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.040) 0:00:42.731 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.037) 0:00:42.769 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.071) 0:00:42.840 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.061) 0:00:42.902 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:10:57 -0400 (0:00:00.072) 0:00:42.974 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:10:58 -0400 (0:00:00.044) 0:00:43.019 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:10:58 -0400 (0:00:00.036) 0:00:43.056 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:10:58 -0400 (0:00:00.036) 0:00:43.092 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:10:59 -0400 (0:00:01.638) 0:00:44.731 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:01 -0400 (0:00:01.434) 0:00:46.165 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.038) 0:00:46.204 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.057) 0:00:46.261 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.037) 0:00:46.299 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.036) 0:00:46.336 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.045) 0:00:46.382 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.038) 0:00:46.420 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.043) 0:00:46.463 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.077) 0:00:46.541 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.037) 0:00:46.579 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.035) 0:00:46.614 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.044) 0:00:46.658 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.038) 0:00:46.697 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:01 -0400 (0:00:00.037) 0:00:46.734 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:02 -0400 (0:00:00.544) 0:00:47.278 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmphf657so9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:02 -0400 (0:00:00.412) 0:00:47.691 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.499) 0:00:48.190 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.035) 0:00:48.226 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.038) 0:00:48.264 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.040) 0:00:48.305 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.036) 0:00:48.341 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.358) 0:00:48.700 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.040) 0:00:48.740 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.060) 0:00:48.801 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.071) 0:00:48.872 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.043) 0:00:48.916 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:03 -0400 (0:00:00.063) 0:00:48.980 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:04 -0400 (0:00:00.037) 0:00:49.017 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:05 -0400 (0:00:01.655) 0:00:50.673 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:07 -0400 (0:00:01.436) 0:00:52.109 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.060) 0:00:52.169 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.037) 0:00:52.207 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.036) 0:00:52.243 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.037) 0:00:52.281 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.045) 0:00:52.327 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.037) 0:00:52.364 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.043) 0:00:52.408 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.075) 0:00:52.483 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.035) 0:00:52.519 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.036) 0:00:52.555 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.042) 0:00:52.597 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.035) 0:00:52.633 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:07 -0400 (0:00:00.035) 0:00:52.669 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:08 -0400 (0:00:00.534) 0:00:53.204 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmp1g5k1mo0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:08 -0400 (0:00:00.376) 0:00:53.581 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.731) 0:00:54.312 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.037) 0:00:54.349 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.038) 0:00:54.387 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.040) 0:00:54.428 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.036) 0:00:54.465 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.357) 0:00:54.822 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.067) 0:00:54.889 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:09 -0400 (0:00:00.072) 0:00:54.962 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:10 -0400 (0:00:00.098) 0:00:55.060 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:10 -0400 (0:00:00.046) 0:00:55.106 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:10 -0400 (0:00:00.038) 0:00:55.144 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:10 -0400 (0:00:00.036) 0:00:55.181 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:11 -0400 (0:00:01.654) 0:00:56.835 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:13 -0400 (0:00:01.435) 0:00:58.271 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.038) 0:00:58.309 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.036) 0:00:58.346 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.036) 0:00:58.382 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.035) 0:00:58.418 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.043) 0:00:58.462 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.036) 0:00:58.499 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.041) 0:00:58.540 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.077) 0:00:58.617 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.036) 0:00:58.654 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.035) 0:00:58.690 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.044) 0:00:58.735 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.066) 0:00:58.801 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:13 -0400 (0:00:00.036) 0:00:58.838 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:14 -0400 (0:00:00.525) 0:00:59.363 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpzevc_xv4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:14 -0400 (0:00:00.369) 0:00:59.733 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.490) 0:01:00.223 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.036) 0:01:00.260 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.038) 0:01:00.299 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.040) 0:01:00.339 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.036) 0:01:00.376 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.356) 0:01:00.733 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.100) 0:01:00.833 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:11:15 -0400 (0:00:00.061) 0:01:00.895 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722795069.1685715, "block_size": 4096, "blocks": 0, "ctime": 1722795069.1685715, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62603, "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": 1722795069.1685715, "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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 14:11:16 -0400 (0:00:00.369) 0:01:01.265 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 14:11:16 -0400 (0:00:00.041) 0:01:01.306 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 14:11:16 -0400 (0:00:00.063) 0:01:01.370 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 14:11:16 -0400 (0:00:00.037) 0:01:01.408 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 14:11:16 -0400 (0:00:00.361) 0:01:01.770 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 14:11:16 -0400 (0:00:00.035) 0:01:01.806 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020839", "end": "2024-08-04 14:11:17.130276", "rc": 1, "start": "2024-08-04 14:11:17.109437" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.383) 0:01:02.190 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.037) 0:01:02.227 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.067) 0:01:02.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.039) 0:01:02.334 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.037) 0:01:02.372 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.038) 0:01:02.411 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.041) 0:01:02.452 ********* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.033) 0:01:02.486 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.038) 0:01:02.525 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 14:11:17 -0400 (0:00:00.068) 0:01:02.593 ********* 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.044205", "end": "2024-08-04 14:11:17.943809", "rc": 0, "start": "2024-08-04 14:11:17.899604" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.412) 0:01:03.006 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.063) 0:01:03.069 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.038) 0:01:03.108 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.083) 0:01:03.191 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.089) 0:01:03.281 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.058) 0:01:03.340 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003001", "end": "2024-08-04 14:11:18.644667", "rc": 0, "start": "2024-08-04 14:11:18.641666" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.365) 0:01:03.706 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.039) 0:01:03.746 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.038) 0:01:03.784 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.078) 0:01:03.863 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:18 -0400 (0:00:00.062) 0:01:03.925 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:19 -0400 (0:00:00.072) 0:01:03.997 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:19 -0400 (0:00:00.045) 0:01:04.042 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:19 -0400 (0:00:00.036) 0:01:04.079 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:19 -0400 (0:00:00.066) 0:01:04.145 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:20 -0400 (0:00:01.596) 0:01:05.742 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:22 -0400 (0:00:01.432) 0:01:07.174 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.039) 0:01:07.214 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.061) 0:01:07.275 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.036) 0:01:07.312 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.037) 0:01:07.350 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.045) 0:01:07.395 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.036) 0:01:07.431 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.043) 0:01:07.475 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.075) 0:01:07.550 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.036) 0:01:07.587 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.037) 0:01:07.624 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.042) 0:01:07.667 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.037) 0:01:07.704 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:22 -0400 (0:00:00.037) 0:01:07.742 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:23 -0400 (0:00:00.531) 0:01:08.274 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpbdudfyqh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:23 -0400 (0:00:00.377) 0:01:08.651 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.538) 0:01:09.189 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.036) 0:01:09.226 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.039) 0:01:09.266 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.039) 0:01:09.305 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.036) 0:01:09.342 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.360) 0:01:09.702 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.039) 0:01:09.741 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.062) 0:01:09.803 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.070) 0:01:09.874 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.044) 0:01:09.919 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:24 -0400 (0:00:00.035) 0:01:09.954 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:25 -0400 (0:00:00.065) 0:01:10.020 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:26 -0400 (0:00:01.669) 0:01:11.689 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:28 -0400 (0:00:01.447) 0:01:13.137 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.063) 0:01:13.200 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.036) 0:01:13.237 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.036) 0:01:13.274 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.036) 0:01:13.311 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.043) 0:01:13.354 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.036) 0:01:13.391 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.042) 0:01:13.434 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.074) 0:01:13.508 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.036) 0:01:13.545 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.036) 0:01:13.582 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.042) 0:01:13.625 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.037) 0:01:13.662 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:28 -0400 (0:00:00.036) 0:01:13.698 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:29 -0400 (0:00:00.536) 0:01:14.235 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpzedui1jr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:29 -0400 (0:00:00.375) 0:01:14.610 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:30 -0400 (0:00:00.732) 0:01:15.342 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:30 -0400 (0:00:00.038) 0:01:15.381 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:30 -0400 (0:00:00.041) 0:01:15.422 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:30 -0400 (0:00:00.041) 0:01:15.464 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:30 -0400 (0:00:00.037) 0:01:15.501 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Sunday 04 August 2024 14:11:30 -0400 (0:00:00.365) 0:01:15.867 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:30 -0400 (0:00:00.061) 0:01:15.929 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:31 -0400 (0:00:00.072) 0:01:16.001 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:31 -0400 (0:00:00.044) 0:01:16.045 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:31 -0400 (0:00:00.063) 0:01:16.109 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:31 -0400 (0:00:00.038) 0:01:16.147 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:32 -0400 (0:00:01.644) 0:01:17.792 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:34 -0400 (0:00:01.457) 0:01:19.249 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.038) 0:01:19.288 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.038) 0:01:19.326 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.037) 0:01:19.363 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.037) 0:01:19.401 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.045) 0:01:19.446 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.037) 0:01:19.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.041) 0:01:19.524 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.075) 0:01:19.600 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.037) 0:01:19.638 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.036) 0:01:19.674 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.042) 0:01:19.716 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.037) 0:01:19.753 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:34 -0400 (0:00:00.035) 0:01:19.789 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:35 -0400 (0:00:00.561) 0:01:20.350 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpu_icwrdy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:35 -0400 (0:00:00.376) 0:01:20.727 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.499) 0:01:21.227 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.036) 0:01:21.263 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.039) 0:01:21.303 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.039) 0:01:21.343 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.035) 0:01:21.379 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.364) 0:01:21.743 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.067) 0:01:21.811 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.103) 0:01:21.915 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:36 -0400 (0:00:00.072) 0:01:21.987 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:37 -0400 (0:00:00.047) 0:01:22.035 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:37 -0400 (0:00:00.038) 0:01:22.073 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:37 -0400 (0:00:00.036) 0:01:22.110 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:38 -0400 (0:00:01.645) 0:01:23.755 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:40 -0400 (0:00:01.461) 0:01:25.216 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.039) 0:01:25.256 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.036) 0:01:25.292 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.035) 0:01:25.328 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.036) 0:01:25.364 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.044) 0:01:25.409 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.036) 0:01:25.445 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.044) 0:01:25.490 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.076) 0:01:25.566 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.036) 0:01:25.602 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.036) 0:01:25.639 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.080) 0:01:25.719 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.037) 0:01:25.757 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:40 -0400 (0:00:00.037) 0:01:25.795 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:41 -0400 (0:00:00.538) 0:01:26.334 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmphd6ps1c1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:41 -0400 (0:00:00.371) 0:01:26.705 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.487) 0:01:27.192 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.037) 0:01:27.230 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.040) 0:01:27.270 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.040) 0:01:27.311 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.037) 0:01:27.349 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.359) 0:01:27.708 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.125) 0:01:27.834 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.064) 0:01:27.898 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 14:11:42 -0400 (0:00:00.037) 0:01:27.936 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.363) 0:01:28.299 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.036) 0:01:28.335 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018570", "end": "2024-08-04 14:11:43.659309", "rc": 1, "start": "2024-08-04 14:11:43.640739" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.385) 0:01:28.720 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.038) 0:01:28.759 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.041) 0:01:28.800 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.038) 0:01:28.838 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.037) 0:01:28.876 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.041) 0:01:28.917 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 14:11:43 -0400 (0:00:00.068) 0:01:28.986 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.044) 0:01:29.030 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.039) 0:01:29.069 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.068) 0:01:29.138 ********* 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.046575", "end": "2024-08-04 14:11:44.481956", "rc": 0, "start": "2024-08-04 14:11:44.435381" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.404) 0:01:29.542 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.063) 0:01:29.606 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.038) 0:01:29.645 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.083) 0:01:29.728 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.059) 0:01:29.787 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:11:44 -0400 (0:00:00.057) 0:01:29.845 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002987", "end": "2024-08-04 14:11:45.149822", "rc": 0, "start": "2024-08-04 14:11:45.146835" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.394) 0:01:30.240 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.040) 0:01:30.281 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.037) 0:01:30.318 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.079) 0:01:30.398 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.062) 0:01:30.460 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.071) 0:01:30.532 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.044) 0:01:30.576 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.037) 0:01:30.614 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:45 -0400 (0:00:00.038) 0:01:30.652 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:47 -0400 (0:00:01.644) 0:01:32.296 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:48 -0400 (0:00:01.440) 0:01:33.737 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:48 -0400 (0:00:00.039) 0:01:33.776 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:48 -0400 (0:00:00.036) 0:01:33.813 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:48 -0400 (0:00:00.036) 0:01:33.849 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:48 -0400 (0:00:00.036) 0:01:33.885 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:48 -0400 (0:00:00.070) 0:01:33.956 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:48 -0400 (0:00:00.037) 0:01:33.993 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.042) 0:01:34.036 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.075) 0:01:34.112 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.036) 0:01:34.148 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.036) 0:01:34.185 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.042) 0:01:34.227 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.036) 0:01:34.264 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.037) 0:01:34.301 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:49 -0400 (0:00:00.527) 0:01:34.829 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmp9zfj36sj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:50 -0400 (0:00:00.371) 0:01:35.201 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:50 -0400 (0:00:00.479) 0:01:35.680 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:50 -0400 (0:00:00.065) 0:01:35.745 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:50 -0400 (0:00:00.041) 0:01:35.787 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:50 -0400 (0:00:00.041) 0:01:35.828 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:50 -0400 (0:00:00.038) 0:01:35.867 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 14:11:51 -0400 (0:00:00.361) 0:01:36.228 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 14:11:51 -0400 (0:00:00.040) 0:01:36.268 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:51 -0400 (0:00:00.063) 0:01:36.331 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:51 -0400 (0:00:00.072) 0:01:36.404 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:51 -0400 (0:00:00.046) 0:01:36.450 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:51 -0400 (0:00:00.036) 0:01:36.486 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:51 -0400 (0:00:00.036) 0:01:36.523 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:53 -0400 (0:00:01.644) 0:01:38.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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:11:54 -0400 (0:00:01.441) 0:01:39.608 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.039) 0:01:39.647 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.035) 0:01:39.683 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.060) 0:01:39.744 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.038) 0:01:39.782 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.043) 0:01:39.826 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.037) 0:01:39.863 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.042) 0:01:39.905 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:11:54 -0400 (0:00:00.074) 0:01:39.980 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:11:55 -0400 (0:00:00.036) 0:01:40.017 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:11:55 -0400 (0:00:00.036) 0:01:40.053 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:11:55 -0400 (0:00:00.041) 0:01:40.095 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:11:55 -0400 (0:00:00.036) 0:01:40.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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:11:55 -0400 (0:00:00.036) 0:01:40.168 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:11:55 -0400 (0:00:00.529) 0:01:40.697 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpj6pbtt4_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:11:56 -0400 (0:00:00.375) 0:01:41.072 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:11:56 -0400 (0:00:00.771) 0:01:41.844 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:11:56 -0400 (0:00:00.036) 0:01:41.881 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:11:56 -0400 (0:00:00.040) 0:01:41.921 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:11:56 -0400 (0:00:00.040) 0:01:41.962 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:11:57 -0400 (0:00:00.036) 0:01:41.999 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 14:11:57 -0400 (0:00:00.364) 0:01:42.363 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:11:57 -0400 (0:00:00.061) 0:01:42.424 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:11:57 -0400 (0:00:00.072) 0:01:42.496 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:11:57 -0400 (0:00:00.044) 0:01:42.541 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:11:57 -0400 (0:00:00.036) 0:01:42.578 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:11:57 -0400 (0:00:00.064) 0:01:42.642 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:11:59 -0400 (0:00:01.653) 0:01:44.296 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:12:00 -0400 (0:00:01.438) 0:01:45.734 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:12:00 -0400 (0:00:00.038) 0:01:45.772 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:12:00 -0400 (0:00:00.061) 0:01:45.834 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:12:00 -0400 (0:00:00.036) 0:01: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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:12:00 -0400 (0:00:00.037) 0:01:45.909 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:12:00 -0400 (0:00:00.045) 0:01:45.954 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:12:00 -0400 (0:00:00.037) 0:01:45.992 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.046) 0:01:46.039 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.076) 0:01:46.116 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.037) 0:01:46.153 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.037) 0:01:46.191 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.043) 0:01:46.234 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.036) 0:01:46.271 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.035) 0:01:46.307 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:12:01 -0400 (0:00:00.538) 0:01:46.845 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmpnzgzv2oe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:12:02 -0400 (0:00:00.412) 0:01:47.258 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:12:02 -0400 (0:00:00.514) 0:01:47.773 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:12:02 -0400 (0:00:00.036) 0:01:47.809 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:12:02 -0400 (0:00:00.041) 0:01:47.850 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:12:02 -0400 (0:00:00.040) 0:01:47.891 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:12:02 -0400 (0:00:00.035) 0:01:47.927 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 14:12:03 -0400 (0:00:00.360) 0:01:48.288 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 14:12:03 -0400 (0:00:00.066) 0:01:48.354 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:12:03 -0400 (0:00:00.061) 0:01:48.416 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:12:03 -0400 (0:00:00.070) 0:01:48.486 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:12:03 -0400 (0:00:00.075) 0:01:48.561 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:12:03 -0400 (0:00:00.038) 0:01:48.600 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:12:03 -0400 (0:00:00.038) 0:01:48.638 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:12:05 -0400 (0:00:01.645) 0:01:50.283 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:12:06 -0400 (0:00:01.466) 0:01:51.749 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:12:06 -0400 (0:00:00.040) 0:01:51.790 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:12:06 -0400 (0:00:00.038) 0:01:51.828 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:12:06 -0400 (0:00:00.039) 0:01: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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:12:06 -0400 (0:00:00.038) 0:01:51.907 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:12:06 -0400 (0:00:00.045) 0:01:51.952 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:12:06 -0400 (0:00:00.039) 0:01:51.992 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.044) 0:01:52.036 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.076) 0:01:52.113 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.038) 0:01:52.151 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.038) 0:01:52.190 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.042) 0:01:52.233 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.038) 0:01:52.271 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.037) 0:01:52.309 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:12:07 -0400 (0:00:00.564) 0:01:52.873 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41041wki_i0nn/tmp4tloj8we" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:12:08 -0400 (0:00:00.376) 0:01:53.249 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:12:08 -0400 (0:00:00.489) 0:01:53.739 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:12:08 -0400 (0:00:00.037) 0:01:53.777 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:12:08 -0400 (0:00:00.038) 0:01:53.815 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:12:08 -0400 (0:00:00.040) 0:01:53.856 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:12:08 -0400 (0:00:00.036) 0:01:53.893 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 14:12:09 -0400 (0:00:00.361) 0:01:54.254 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 14:12:09 -0400 (0:00:00.077) 0:01:54.331 ********* included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 14:12:09 -0400 (0:00:00.064) 0:01:54.396 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 14:12:09 -0400 (0:00:00.067) 0:01:54.464 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 14:12:09 -0400 (0:00:00.359) 0:01:54.824 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 14:12:09 -0400 (0:00:00.036) 0:01:54.861 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018721", "end": "2024-08-04 14:12:10.180285", "rc": 1, "start": "2024-08-04 14:12:10.161564" } 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 14:12:10 -0400 (0:00:00.381) 0:01:55.242 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 14:12:10 -0400 (0:00:00.039) 0:01:55.282 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 14:12:10 -0400 (0:00:00.040) 0:01:55.323 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 14:12:10 -0400 (0:00:00.039) 0:01:55.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 14:12:10 -0400 (0:00:00.040) 0:01:55.403 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 14:12:10 -0400 (0:00:00.040) 0:01:55.444 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Sunday 04 August 2024 14:12:10 -0400 (0:00:00.041) 0:01:55.486 ********* [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.884522", "end": "2024-08-04 14:12:11.674751", "rc": 0, "start": "2024-08-04 14:12:10.790229" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Sunday 04 August 2024 14:12:11 -0400 (0:00:01.279) 0:01:56.765 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Sunday 04 August 2024 14:12:11 -0400 (0:00:00.039) 0:01:56.804 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 14:12:11 -0400 (0:00:00.037) 0:01:56.842 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 14:12:11 -0400 (0:00:00.046) 0:01:56.889 ********* 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 14:12:11 -0400 (0:00:00.039) 0:01:56.928 ********* included: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 14:12:12 -0400 (0:00:00.076) 0:01:57.004 ********* 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.045913", "end": "2024-08-04 14:12:12.349902", "rc": 0, "start": "2024-08-04 14:12:12.303989" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Sunday 04 August 2024 14:12:12 -0400 (0:00:00.406) 0:01:57.411 ********* 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.008176", "end": "2024-08-04 14:12:12.719362", "rc": 0, "start": "2024-08-04 14:12:12.711186" } 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 12:7e:46:5c:d0:17 brd ff:ff:ff:ff:ff:ff inet 10.31.11.57/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3319sec preferred_lft 3319sec inet6 fe80::107e:46ff:fe5c:d017/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 92:7c:e0:da:f1:a0 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.8.1 dev eth0 proto dhcp src 10.31.11.57 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.57 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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Sunday 04 August 2024 14:12:12 -0400 (0:00:00.373) 0:01:57.784 ********* 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.188450", "end": "2024-08-04 14:12:13.275713", "rc": 0, "start": "2024-08-04 14:12:13.087263" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 5446 0 --:--:-- --:--:-- --:--:-- 5446 % 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 2771 0 --:--:-- --:--:-- --:--:-- 2771 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Sunday 04 August 2024 14:12:13 -0400 (0:00:00.531) 0:01:58.315 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/tmp.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/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.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/tmp.YKlfr4Ig80/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26