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.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Sunday 04 August 2024 17:22:31 -0400 (0:00:00.019) 0:00:00.019 ********* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Sunday 04 August 2024 17:22:32 -0400 (0:00:00.936) 0:00:00.955 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 17:22:32 -0400 (0:00:00.035) 0:00:00.991 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 17:22:32 -0400 (0:00:00.521) 0:00:01.512 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 17:22:33 -0400 (0:00:00.460) 0:00:01.973 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 17:22:33 -0400 (0:00:00.036) 0:00:02.009 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 17:22:33 -0400 (0:00:00.035) 0:00:02.044 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 17:22:33 -0400 (0:00:00.061) 0:00:02.106 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 17:22:33 -0400 (0:00:00.432) 0:00:02.539 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 17:22:33 -0400 (0:00:00.018) 0:00:02.558 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 17:22:33 -0400 (0:00:00.017) 0:00:02.575 ********* [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.248878", "end": "2024-08-04 17:22:34.236812", "rc": 0, "start": "2024-08-04 17:22:33.987934" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 17:22:34 -0400 (0:00:00.614) 0:00:03.190 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Sunday 04 August 2024 17:22:34 -0400 (0:00:00.017) 0:00:03.207 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Sunday 04 August 2024 17:22:34 -0400 (0:00:00.017) 0:00:03.225 ********* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.680) 0:00:03.905 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.018) 0:00:03.924 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.026) 0:00:03.950 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.018) 0:00:03.969 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.055) 0:00:04.024 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.025) 0:00:04.049 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.020) 0:00:04.069 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003018", "end": "2024-08-04 17:22:35.484205", "rc": 0, "start": "2024-08-04 17:22:35.481187" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.367) 0:00:04.437 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.018) 0:00:04.455 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.016) 0:00:04.472 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.032) 0:00:04.505 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007649", "end": "2024-08-04 17:22:35.917114", "rc": 1, "start": "2024-08-04 17:22:35.909465" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.363) 0:00:04.869 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:22:35 -0400 (0:00:00.023) 0:00:04.892 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.356) 0:00:05.249 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.020) 0:00:05.270 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.028) 0:00:05.299 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.093) 0:00:05.392 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.034) 0:00:05.427 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.020) 0:00:05.447 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.016) 0:00:05.464 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:22:36 -0400 (0:00:00.017) 0:00:05.481 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:22:38 -0400 (0:00:01.775) 0:00:07.257 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:22:40 -0400 (0:00:01.689) 0:00:08.947 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.055) 0:00:09.002 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.033) 0:00:09.035 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.035) 0:00:09.070 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.034) 0:00:09.105 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.040) 0:00:09.145 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.034) 0:00:09.179 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.040) 0:00:09.219 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.070) 0:00:09.290 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.033) 0:00:09.324 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.034) 0:00:09.358 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.037) 0:00:09.396 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.036) 0:00:09.433 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:22:40 -0400 (0:00:00.034) 0:00:09.467 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:22:41 -0400 (0:00:00.795) 0:00:10.262 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmpeix58cnc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:22:41 -0400 (0:00:00.385) 0:00:10.648 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:22:42 -0400 (0:00:00.658) 0:00:11.306 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:22:42 -0400 (0:00:00.032) 0:00:11.339 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:22:42 -0400 (0:00:00.035) 0:00:11.374 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:22:42 -0400 (0:00:00.036) 0:00:11.411 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:22:42 -0400 (0:00:00.031) 0:00:11.442 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:22:43 -0400 (0:00:00.479) 0:00:11.922 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:22:43 -0400 (0:00:00.037) 0:00:11.960 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 17:22:43 -0400 (0:00:00.064) 0:00:12.024 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:22:43 -0400 (0:00:00.096) 0:00:12.120 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:22:43 -0400 (0:00:00.033) 0:00:12.154 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722806562.3366096, "block_size": 4096, "blocks": 8, "ctime": 1722806562.3366096, "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": 1722806562.3366096, "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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:22:43 -0400 (0:00:00.379) 0:00:12.533 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:22:43 -0400 (0:00:00.036) 0:00:12.570 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021818", "end": "2024-08-04 17:22:44.005268", "rc": 1, "start": "2024-08-04 17:22:43.983450" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:22:44 -0400 (0:00:00.403) 0:00:12.973 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:22:44 -0400 (0:00:00.036) 0:00:13.010 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002905", "end": "2024-08-04 17:22:44.422841", "rc": 0, "start": "2024-08-04 17:22:44.419936" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:22:44 -0400 (0:00:00.383) 0:00:13.393 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:22:44 -0400 (0:00:00.042) 0:00:13.436 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002872", "end": "2024-08-04 17:22:44.853607", "rc": 0, "start": "2024-08-04 17:22:44.850735" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:22:44 -0400 (0:00:00.387) 0:00:13.823 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 17:22:44 -0400 (0:00:00.040) 0:00:13.864 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.066) 0:00:13.931 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.040) 0:00:13.971 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.036) 0:00:14.008 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.039) 0:00:14.047 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.036) 0:00:14.083 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.062) 0:00:14.145 ********* 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.039758", "end": "2024-08-04 17:22:45.586692", "rc": 1, "start": "2024-08-04 17:22:45.546934" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.410) 0:00:14.556 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.057) 0:00:14.614 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.035) 0:00:14.649 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.075) 0:00:14.724 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.054) 0:00:14.779 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:22:45 -0400 (0:00:00.085) 0:00:14.865 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003084", "end": "2024-08-04 17:22:46.283323", "rc": 0, "start": "2024-08-04 17:22:46.280239" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:22:46 -0400 (0:00:00.388) 0:00:15.254 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:22:46 -0400 (0:00:00.036) 0:00:15.290 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:22:46 -0400 (0:00:00.037) 0:00:15.327 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 17:22:46 -0400 (0:00:00.066) 0:00:15.394 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005687", "end": "2024-08-04 17:22:46.806691", "rc": 1, "start": "2024-08-04 17:22:46.801004" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:22:46 -0400 (0:00:00.382) 0:00:15.776 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:22:46 -0400 (0:00:00.056) 0:00:15.832 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.377) 0:00:16.210 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.038) 0:00:16.249 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.088) 0:00:16.337 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.070) 0:00:16.408 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.066) 0:00:16.474 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.042) 0:00:16.517 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.032) 0:00:16.550 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:22:47 -0400 (0:00:00.032) 0:00:16.582 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:22:49 -0400 (0:00:01.656) 0:00:18.239 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:22:50 -0400 (0:00:01.544) 0:00:19.783 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:22:50 -0400 (0:00:00.034) 0:00:19.818 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:22:50 -0400 (0:00:00.035) 0:00:19.853 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:22:50 -0400 (0:00:00.034) 0:00:19.887 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.037) 0:00:19.925 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.042) 0:00:19.967 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.033) 0:00:20.001 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.041) 0:00:20.042 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.132) 0:00:20.175 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.035) 0:00:20.211 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.032) 0:00:20.243 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.042) 0:00:20.286 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.035) 0:00:20.322 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:22:51 -0400 (0:00:00.032) 0:00:20.354 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:22:52 -0400 (0:00:00.546) 0:00:20.901 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmpttsyeukv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:22:52 -0400 (0:00:00.389) 0:00:21.291 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:22:52 -0400 (0:00:00.495) 0:00:21.786 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:22:52 -0400 (0:00:00.035) 0:00:21.821 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:22:52 -0400 (0:00:00.038) 0:00:21.860 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:22:53 -0400 (0:00:00.070) 0:00:21.930 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:22:53 -0400 (0:00:00.037) 0:00:21.968 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Sunday 04 August 2024 17:22:53 -0400 (0:00:00.379) 0:00:22.348 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:22:53 -0400 (0:00:00.040) 0:00:22.388 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:22:53 -0400 (0:00:00.074) 0:00:22.463 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:22:53 -0400 (0:00:00.061) 0:00:22.525 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.388) 0:00:22.913 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.039) 0:00:22.952 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.058) 0:00:23.011 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.035) 0:00:23.046 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722806572.8166656, "block_size": 4096, "blocks": 8, "ctime": 1722806572.8166656, "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": 1722806572.8166656, "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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.368) 0:00:23.415 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.038) 0:00:23.453 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021118", "end": "2024-08-04 17:22:54.877588", "rc": 1, "start": "2024-08-04 17:22:54.856470" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.393) 0:00:23.847 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:22:54 -0400 (0:00:00.035) 0:00:23.882 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002889", "end": "2024-08-04 17:22:55.292817", "rc": 0, "start": "2024-08-04 17:22:55.289928" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.382) 0:00:24.265 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.043) 0:00:24.308 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002948", "end": "2024-08-04 17:22:55.727726", "rc": 0, "start": "2024-08-04 17:22:55.724778" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.392) 0:00:24.701 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.045) 0:00:24.747 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.037) 0:00:24.785 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.042) 0:00:24.828 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.039) 0:00:24.867 ********* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:22:55 -0400 (0:00:00.031) 0:00:24.898 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.074) 0:00:24.972 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.066) 0:00:25.039 ********* 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.040968", "end": "2024-08-04 17:22:56.490388", "rc": 1, "start": "2024-08-04 17:22:56.449420" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.421) 0:00:25.461 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.059) 0:00:25.521 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.036) 0:00:25.558 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.079) 0:00:25.637 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.058) 0:00:25.696 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:22:56 -0400 (0:00:00.056) 0:00:25.752 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002988", "end": "2024-08-04 17:22:57.168090", "rc": 0, "start": "2024-08-04 17:22:57.165102" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.383) 0:00:26.135 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.069) 0:00:26.205 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.038) 0:00:26.243 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.062) 0:00:26.306 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.058) 0:00:26.365 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.066) 0:00:26.432 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.043) 0:00:26.475 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.037) 0:00:26.512 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:22:57 -0400 (0:00:00.034) 0:00:26.547 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:22:59 -0400 (0:00:01.660) 0:00:28.207 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:00 -0400 (0:00:01.520) 0:00:29.728 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:00 -0400 (0:00:00.038) 0:00:29.767 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:00 -0400 (0:00:00.034) 0:00:29.801 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:00 -0400 (0:00:00.038) 0:00:29.839 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:00 -0400 (0:00:00.036) 0:00:29.876 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.040) 0:00:29.916 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.066) 0:00:29.982 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.042) 0:00:30.025 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.068) 0:00:30.093 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.035) 0:00:30.128 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.034) 0:00:30.163 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.042) 0:00:30.205 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.035) 0:00:30.240 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.033) 0:00:30.274 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:01 -0400 (0:00:00.549) 0:00:30.824 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmp_k8l9poa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:02 -0400 (0:00:00.394) 0:00:31.218 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:02 -0400 (0:00:00.498) 0:00:31.717 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:02 -0400 (0:00:00.066) 0:00:31.783 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:02 -0400 (0:00:00.038) 0:00:31.822 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:02 -0400 (0:00:00.036) 0:00:31.859 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:02 -0400 (0:00:00.036) 0:00:31.895 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.376) 0:00:32.271 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.039) 0:00:32.310 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.061) 0:00:32.372 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.069) 0:00:32.442 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.065) 0:00:32.507 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.042) 0:00:32.550 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.034) 0:00:32.584 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:03 -0400 (0:00:00.070) 0:00:32.655 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:05 -0400 (0:00:01.661) 0:00:34.316 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:06 -0400 (0:00:01.519) 0:00:35.836 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.065) 0:00:35.902 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.033) 0:00:35.936 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.036) 0:00:35.973 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.036) 0:00:36.009 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.040) 0:00:36.049 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.035) 0:00:36.085 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.037) 0:00:36.123 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.068) 0:00:36.191 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.032) 0:00:36.224 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.034) 0:00:36.258 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.037) 0:00:36.295 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.034) 0:00:36.330 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:07 -0400 (0:00:00.034) 0:00:36.365 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:08 -0400 (0:00:00.543) 0:00:36.908 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmplwg5ux0f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:08 -0400 (0:00:00.406) 0:00:37.315 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.755) 0:00:38.070 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.033) 0:00:38.104 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.038) 0:00:38.142 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.035) 0:00:38.178 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.033) 0:00:38.212 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.369) 0:00:38.582 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.070) 0:00:38.652 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:23:09 -0400 (0:00:00.057) 0:00:38.710 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722806589.0162518, "block_size": 4096, "blocks": 0, "ctime": 1722806589.0162518, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62428, "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": 1722806589.0162518, "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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:23:10 -0400 (0:00:00.414) 0:00:39.125 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 17:23:10 -0400 (0:00:00.039) 0:00:39.164 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:23:10 -0400 (0:00:00.063) 0:00:39.228 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:23:10 -0400 (0:00:00.037) 0:00:39.265 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722806588.8397512, "block_size": 4096, "blocks": 8, "ctime": 1722806582.7457187, "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": 1722806582.7457187, "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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:23:10 -0400 (0:00:00.380) 0:00:39.646 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:23:10 -0400 (0:00:00.036) 0:00:39.683 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021502", "end": "2024-08-04 17:23:11.108860", "rc": 1, "start": "2024-08-04 17:23:11.087358" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:23:11 -0400 (0:00:00.395) 0:00:40.079 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:23:11 -0400 (0:00:00.035) 0:00:40.114 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002675", "end": "2024-08-04 17:23:11.531370", "rc": 0, "start": "2024-08-04 17:23:11.528695" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:23:11 -0400 (0:00:00.390) 0:00:40.504 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:23:11 -0400 (0:00:00.044) 0:00:40.548 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002937", "end": "2024-08-04 17:23:11.970025", "rc": 0, "start": "2024-08-04 17:23:11.967088" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.426) 0:00:40.975 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.042) 0:00:41.017 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.041) 0:00:41.059 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.040) 0:00:41.100 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.037) 0:00:41.137 ********* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.033) 0:00:41.171 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.037) 0:00:41.208 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.064) 0:00:41.273 ********* 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.046944", "end": "2024-08-04 17:23:12.732935", "rc": 0, "start": "2024-08-04 17:23:12.685991" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.429) 0:00:41.702 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.059) 0:00:41.761 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.036) 0:00:41.798 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:23:12 -0400 (0:00:00.077) 0:00:41.875 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.084) 0:00:41.959 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.054) 0:00:42.014 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2024-08-04 17:23:13.425949", "rc": 0, "start": "2024-08-04 17:23:13.422706" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.381) 0:00:42.396 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.034) 0:00:42.431 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.034) 0:00:42.465 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.063) 0:00:42.529 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.055) 0:00:42.584 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.063) 0:00:42.648 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.041) 0:00:42.689 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.032) 0:00:42.722 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:13 -0400 (0:00:00.065) 0:00:42.788 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:15 -0400 (0:00:01.652) 0:00:44.440 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:17 -0400 (0:00:01.511) 0:00:45.952 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.060) 0:00:46.013 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.034) 0:00:46.048 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.031) 0:00:46.079 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.034) 0:00:46.114 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.039) 0:00:46.153 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.033) 0:00:46.186 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.038) 0:00:46.225 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.068) 0:00:46.293 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.032) 0:00:46.326 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.036) 0:00:46.362 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.040) 0:00:46.402 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.032) 0:00:46.435 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:17 -0400 (0:00:00.035) 0:00:46.470 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:18 -0400 (0:00:00.550) 0:00:47.021 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmp_2go9cjp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:18 -0400 (0:00:00.382) 0:00:47.403 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:18 -0400 (0:00:00.495) 0:00:47.899 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.035) 0:00:47.935 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.037) 0:00:47.972 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.040) 0:00:48.012 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.035) 0:00:48.048 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.376) 0:00:48.424 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.037) 0:00:48.461 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.058) 0:00:48.520 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.065) 0:00:48.585 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.071) 0:00:48.656 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.034) 0:00:48.690 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:19 -0400 (0:00:00.037) 0:00:48.728 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:21 -0400 (0:00:01.656) 0:00:50.385 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:22 -0400 (0:00:01.503) 0:00:51.888 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.063) 0:00:51.952 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.035) 0:00:51.987 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.034) 0:00:52.021 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.036) 0:00:52.058 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.039) 0:00:52.097 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.034) 0:00:52.132 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.037) 0:00:52.169 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.068) 0:00:52.237 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.031) 0:00:52.269 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.032) 0:00:52.302 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.036) 0:00:52.339 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.035) 0:00:52.374 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:23 -0400 (0:00:00.034) 0:00:52.408 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:24 -0400 (0:00:00.543) 0:00:52.952 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmpum_856pk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:24 -0400 (0:00:00.381) 0:00:53.334 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.748) 0:00:54.082 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.033) 0:00:54.116 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.037) 0:00:54.154 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.036) 0:00:54.190 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.033) 0:00:54.223 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.372) 0:00:54.596 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.061) 0:00:54.658 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.067) 0:00:54.725 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.093) 0:00:54.819 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.044) 0:00:54.864 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:25 -0400 (0:00:00.035) 0:00:54.899 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:26 -0400 (0:00:00.032) 0:00:54.932 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:27 -0400 (0:00:01.655) 0:00:56.588 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:29 -0400 (0:00:01.537) 0:00:58.125 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.036) 0:00:58.162 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.033) 0:00:58.196 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.031) 0:00:58.227 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.034) 0:00:58.261 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.039) 0:00:58.300 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.035) 0:00:58.336 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.042) 0:00:58.378 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.067) 0:00:58.446 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.033) 0:00:58.479 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.033) 0:00:58.513 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.069) 0:00:58.583 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.034) 0:00:58.618 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:29 -0400 (0:00:00.033) 0:00:58.651 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:30 -0400 (0:00:00.540) 0:00:59.191 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmpra5ln6yi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:30 -0400 (0:00:00.384) 0:00:59.575 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.501) 0:01:00.077 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.034) 0:01:00.111 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.036) 0:01:00.148 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.034) 0:01:00.182 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.032) 0:01:00.215 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.402) 0:01:00.618 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.069) 0:01:00.687 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:23:31 -0400 (0:00:00.058) 0:01:00.746 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722806605.0272107, "block_size": 4096, "blocks": 0, "ctime": 1722806605.0272107, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62559, "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": 1722806605.0272107, "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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:23:32 -0400 (0:00:00.380) 0:01:01.127 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 17:23:32 -0400 (0:00:00.040) 0:01:01.168 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:23:32 -0400 (0:00:00.059) 0:01:01.227 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:23:32 -0400 (0:00:00.038) 0:01:01.265 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:23:32 -0400 (0:00:00.380) 0:01:01.646 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:23:32 -0400 (0:00:00.035) 0:01:01.681 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021775", "end": "2024-08-04 17:23:33.113345", "rc": 1, "start": "2024-08-04 17:23:33.091570" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.433) 0:01:02.114 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.036) 0:01:02.151 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.036) 0:01:02.187 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.038) 0:01:02.225 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.035) 0:01:02.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.036) 0:01:02.297 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.040) 0:01:02.338 ********* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.031) 0:01:02.370 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.039) 0:01:02.410 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:23:33 -0400 (0:00:00.065) 0:01:02.475 ********* 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.049105", "end": "2024-08-04 17:23:33.938058", "rc": 0, "start": "2024-08-04 17:23:33.888953" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.434) 0:01:02.909 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.056) 0:01:02.966 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.035) 0:01:03.001 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.107) 0:01:03.109 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.057) 0:01:03.166 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.055) 0:01:03.221 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003056", "end": "2024-08-04 17:23:34.634505", "rc": 0, "start": "2024-08-04 17:23:34.631449" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.383) 0:01:03.604 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.038) 0:01:03.642 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.034) 0:01:03.677 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.077) 0:01:03.755 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.061) 0:01:03.816 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:34 -0400 (0:00:00.068) 0:01:03.885 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:35 -0400 (0:00:00.043) 0:01:03.929 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:35 -0400 (0:00:00.067) 0:01:03.997 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:35 -0400 (0:00:00.036) 0:01:04.034 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:36 -0400 (0:00:01.657) 0:01:05.691 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:38 -0400 (0:00:01.540) 0:01:07.231 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.036) 0:01:07.267 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.034) 0:01:07.302 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.037) 0:01:07.340 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.035) 0:01:07.375 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.042) 0:01:07.418 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.037) 0:01:07.455 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.040) 0:01:07.496 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.068) 0:01:07.564 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.036) 0:01:07.601 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.036) 0:01:07.637 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.037) 0:01:07.675 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.037) 0:01:07.712 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:38 -0400 (0:00:00.033) 0:01:07.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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:39 -0400 (0:00:00.583) 0:01:08.329 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmp8nc9uxk_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:39 -0400 (0:00:00.389) 0:01:08.718 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.501) 0:01:09.219 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.036) 0:01:09.256 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.038) 0:01:09.294 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.035) 0:01:09.330 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.036) 0:01:09.366 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.373) 0:01:09.740 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.037) 0:01:09.777 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:40 -0400 (0:00:00.058) 0:01:09.836 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:41 -0400 (0:00:00.103) 0:01:09.940 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:41 -0400 (0:00:00.042) 0:01:09.982 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:41 -0400 (0:00:00.036) 0:01:10.018 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:41 -0400 (0:00:00.036) 0:01:10.055 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:42 -0400 (0:00:01.650) 0:01:11.705 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:44 -0400 (0:00:01.536) 0:01:13.242 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.035) 0:01:13.277 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.034) 0:01:13.312 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.031) 0:01:13.343 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.034) 0:01:13.378 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.042) 0:01:13.420 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.032) 0:01:13.453 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.040) 0:01:13.494 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.069) 0:01:13.563 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.035) 0:01:13.598 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.034) 0:01:13.633 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.042) 0:01:13.675 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.035) 0:01:13.711 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:44 -0400 (0:00:00.033) 0:01:13.745 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:45 -0400 (0:00:00.548) 0:01:14.293 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmp2x3ellv8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:45 -0400 (0:00:00.385) 0:01:14.679 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:46 -0400 (0:00:00.743) 0:01:15.422 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:46 -0400 (0:00:00.033) 0:01:15.455 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:46 -0400 (0:00:00.037) 0:01:15.493 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:46 -0400 (0:00:00.036) 0:01:15.529 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:46 -0400 (0:00:00.035) 0:01:15.565 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Sunday 04 August 2024 17:23:47 -0400 (0:00:00.369) 0:01:15.935 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:47 -0400 (0:00:00.058) 0:01:15.993 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:47 -0400 (0:00:00.094) 0:01:16.087 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:47 -0400 (0:00:00.044) 0:01:16.132 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:47 -0400 (0:00:00.033) 0:01:16.165 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:47 -0400 (0:00:00.036) 0:01:16.202 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:48 -0400 (0:00:01.657) 0:01:17.860 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:50 -0400 (0:00:01.546) 0:01:19.406 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.036) 0:01:19.443 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.034) 0:01:19.478 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.036) 0:01:19.514 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.034) 0:01:19.549 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.040) 0:01:19.592 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.034) 0:01:19.626 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.043) 0:01:19.670 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.066) 0:01:19.737 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.033) 0:01:19.770 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.035) 0:01:19.806 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:50 -0400 (0:00:00.072) 0:01:19.879 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:51 -0400 (0:00:00.035) 0:01:19.914 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:51 -0400 (0:00:00.033) 0:01:19.948 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:51 -0400 (0:00:00.542) 0:01:20.490 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmpe32r3eid" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:51 -0400 (0:00:00.389) 0:01:20.879 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:52 -0400 (0:00:00.502) 0:01:21.382 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:52 -0400 (0:00:00.033) 0:01:21.415 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:52 -0400 (0:00:00.036) 0:01:21.452 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:52 -0400 (0:00:00.036) 0:01:21.488 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:52 -0400 (0:00:00.034) 0:01:21.523 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:23:53 -0400 (0:00:00.402) 0:01:21.925 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 17:23:53 -0400 (0:00:00.062) 0:01:21.988 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:23:53 -0400 (0:00:00.066) 0:01:22.055 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:23:53 -0400 (0:00:00.064) 0:01:22.120 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:23:53 -0400 (0:00:00.042) 0:01:22.162 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:23:53 -0400 (0:00:00.032) 0:01:22.195 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:23:53 -0400 (0:00:00.037) 0:01:22.232 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:23:55 -0400 (0:00:01.684) 0:01:23.917 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:23:56 -0400 (0:00:01.521) 0:01:25.439 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.036) 0:01:25.475 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.035) 0:01:25.511 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.032) 0:01:25.543 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.033) 0:01:25.577 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.039) 0:01:25.616 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.063) 0:01:25.679 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.039) 0:01:25.719 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.069) 0:01:25.789 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.034) 0:01:25.823 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.031) 0:01:25.855 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:23:56 -0400 (0:00:00.040) 0:01:25.895 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:23:57 -0400 (0:00:00.035) 0:01:25.931 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:23:57 -0400 (0:00:00.031) 0:01:25.962 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:23:57 -0400 (0:00:00.543) 0:01:26.505 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmp8n3rf63a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:23:57 -0400 (0:00:00.391) 0:01:26.896 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:23:58 -0400 (0:00:00.492) 0:01:27.389 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:23:58 -0400 (0:00:00.033) 0:01:27.422 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:23:58 -0400 (0:00:00.066) 0:01:27.489 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:23:58 -0400 (0:00:00.039) 0:01:27.529 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:23:58 -0400 (0:00:00.032) 0:01:27.561 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:23:59 -0400 (0:00:00.369) 0:01:27.930 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 17:23:59 -0400 (0:00:00.065) 0:01:27.995 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:23:59 -0400 (0:00:00.059) 0:01:28.055 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:23:59 -0400 (0:00:00.032) 0:01:28.087 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:23:59 -0400 (0:00:00.368) 0:01:28.456 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:23:59 -0400 (0:00:00.035) 0:01:28.491 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021344", "end": "2024-08-04 17:23:59.918777", "rc": 1, "start": "2024-08-04 17:23:59.897433" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:23:59 -0400 (0:00:00.397) 0:01:28.889 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.067) 0:01:28.957 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.037) 0:01:28.994 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.036) 0:01:29.030 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.038) 0:01:29.069 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.034) 0:01:29.104 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.039) 0:01:29.143 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.041) 0:01:29.185 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.033) 0:01:29.218 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.062) 0:01:29.281 ********* 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.051251", "end": "2024-08-04 17:24:00.746620", "rc": 0, "start": "2024-08-04 17:24:00.695369" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.433) 0:01:29.715 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.060) 0:01:29.776 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.036) 0:01:29.812 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:24:00 -0400 (0:00:00.076) 0:01:29.889 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.093) 0:01:29.982 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.056) 0:01:30.038 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003170", "end": "2024-08-04 17:24:01.461453", "rc": 0, "start": "2024-08-04 17:24:01.458283" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.391) 0:01:30.430 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.037) 0:01:30.468 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.036) 0:01:30.505 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.072) 0:01:30.577 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.060) 0:01:30.637 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.066) 0:01:30.704 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.041) 0:01:30.745 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.035) 0:01:30.781 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:24:01 -0400 (0:00:00.072) 0:01:30.854 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:24:03 -0400 (0:00:01.657) 0:01:32.512 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:24:05 -0400 (0:00:01.515) 0:01:34.027 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.077) 0:01:34.105 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.036) 0:01:34.142 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.034) 0:01:34.177 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.038) 0:01:34.215 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.044) 0:01:34.259 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.033) 0:01:34.293 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.041) 0:01:34.335 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.069) 0:01:34.404 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.036) 0:01:34.440 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.034) 0:01:34.474 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.040) 0:01:34.515 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.033) 0:01:34.549 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:24:05 -0400 (0:00:00.032) 0:01:34.581 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:24:06 -0400 (0:00:00.538) 0:01:35.120 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmp1t_wdiv2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:24:06 -0400 (0:00:00.393) 0:01:35.514 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.498) 0:01:36.013 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.034) 0:01:36.047 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.038) 0:01:36.085 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.035) 0:01:36.121 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.035) 0:01:36.157 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.370) 0:01:36.527 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.036) 0:01:36.564 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.057) 0:01:36.622 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.065) 0:01:36.687 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.074) 0:01:36.762 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.034) 0:01:36.796 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:24:07 -0400 (0:00:00.032) 0:01:36.829 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:24:09 -0400 (0:00:01.656) 0:01:38.485 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:24:11 -0400 (0:00:01.517) 0:01:40.002 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.064) 0:01:40.067 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.036) 0:01:40.104 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.033) 0:01:40.137 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.036) 0:01:40.174 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.042) 0:01:40.216 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.033) 0:01:40.250 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.041) 0:01:40.291 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.068) 0:01:40.360 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.035) 0:01:40.395 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.034) 0:01:40.429 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.040) 0:01:40.470 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.035) 0:01:40.505 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:24:11 -0400 (0:00:00.033) 0:01:40.539 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:24:12 -0400 (0:00:00.549) 0:01:41.088 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmpvt6jos5b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:24:12 -0400 (0:00:00.399) 0:01:41.487 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.762) 0:01:42.250 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.035) 0:01:42.286 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.038) 0:01:42.324 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.035) 0:01:42.360 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.036) 0:01:42.397 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.376) 0:01:42.773 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.058) 0:01:42.832 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:24:13 -0400 (0:00:00.067) 0:01:42.899 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:24:14 -0400 (0:00:00.080) 0:01:42.980 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:24:14 -0400 (0:00:00.035) 0:01:43.015 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:24:14 -0400 (0:00:00.036) 0:01:43.051 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:24:15 -0400 (0:00:01.650) 0:01:44.702 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:24:17 -0400 (0:00:01.536) 0:01:46.238 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.035) 0:01:46.273 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.034) 0:01:46.307 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.034) 0:01:46.342 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.033) 0:01:46.375 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.043) 0:01:46.418 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.031) 0:01:46.450 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.041) 0:01:46.492 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.066) 0:01:46.558 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.034) 0:01:46.593 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.031) 0:01:46.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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.040) 0:01:46.665 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.036) 0:01:46.702 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:24:17 -0400 (0:00:00.032) 0:01: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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:24:18 -0400 (0:00:00.578) 0:01:47.313 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmpl96vnwjs" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:24:18 -0400 (0:00:00.387) 0:01:47.701 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.511) 0:01:48.212 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.033) 0:01:48.246 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.038) 0:01:48.284 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.036) 0:01:48.321 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.036) 0:01:48.357 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.373) 0:01:48.730 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.063) 0:01:48.794 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:24:19 -0400 (0:00:00.091) 0:01:48.886 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:24:20 -0400 (0:00:00.064) 0:01:48.950 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:24:20 -0400 (0:00:00.043) 0:01:48.993 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:24:20 -0400 (0:00:00.031) 0:01:49.025 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:24:20 -0400 (0:00:00.034) 0:01:49.060 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:24:21 -0400 (0:00:01.658) 0:01:50.718 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:24:23 -0400 (0:00:01.551) 0:01:52.269 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.037) 0:01:52.307 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.033) 0:01:52.341 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.034) 0:01:52.375 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.031) 0:01:52.407 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.041) 0:01:52.448 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.036) 0:01:52.485 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.038) 0:01:52.523 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.070) 0:01:52.594 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.033) 0:01:52.627 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.033) 0:01:52.661 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.068) 0:01:52.729 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.033) 0:01:52.763 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:24:23 -0400 (0:00:00.033) 0:01:52.796 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:24:24 -0400 (0:00:00.541) 0:01:53.338 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41042c00g_ub1/tmp0p48zh2d" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:24:24 -0400 (0:00:00.380) 0:01:53.719 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.488) 0:01:54.208 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.034) 0:01:54.242 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.034) 0:01:54.277 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.037) 0:01:54.314 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.031) 0:01:54.346 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.402) 0:01:54.748 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.070) 0:01:54.819 ********* included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:24:25 -0400 (0:00:00.061) 0:01:54.880 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.035) 0:01:54.916 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.370) 0:01:55.287 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.033) 0:01:55.321 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021006", "end": "2024-08-04 17:24:26.744646", "rc": 1, "start": "2024-08-04 17:24:26.723640" } 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.392) 0:01:55.713 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.036) 0:01:55.749 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.037) 0:01:55.787 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.034) 0:01:55.821 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.038) 0:01:55.860 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 17:24:26 -0400 (0:00:00.036) 0:01:55.896 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Sunday 04 August 2024 17:24:27 -0400 (0:00:00.074) 0:01:55.970 ********* [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.951130", "end": "2024-08-04 17:24:28.333027", "rc": 0, "start": "2024-08-04 17:24:27.381897" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Sunday 04 August 2024 17:24:28 -0400 (0:00:01.335) 0:01:57.305 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Sunday 04 August 2024 17:24:28 -0400 (0:00:00.036) 0:01:57.342 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:24:28 -0400 (0:00:00.034) 0:01:57.377 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:24:28 -0400 (0:00:00.038) 0:01:57.416 ********* 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:24:28 -0400 (0:00:00.037) 0:01:57.453 ********* included: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:24:28 -0400 (0:00:00.068) 0:01:57.522 ********* 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.047239", "end": "2024-08-04 17:24:28.972813", "rc": 0, "start": "2024-08-04 17:24:28.925574" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Sunday 04 August 2024 17:24:29 -0400 (0:00:00.423) 0:01:57.945 ********* 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.008778", "end": "2024-08-04 17:24:29.360119", "rc": 0, "start": "2024-08-04 17:24:29.351341" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:dd:b8:dc:27 brd ff:ff:ff:ff:ff:ff inet 10.31.15.147/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3287sec preferred_lft 3287sec inet6 fe80::8ff:ddff:feb8:dc27/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 6e:bb:4e:72:8a:a9 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.147 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.147 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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Sunday 04 August 2024 17:24:29 -0400 (0:00:00.385) 0:01:58.331 ********* 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.303216", "end": "2024-08-04 17:24:30.044181", "rc": 0, "start": "2024-08-04 17:24:29.740965" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 5980 0 --:--:-- --:--:-- --:--:-- 5980 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1433 0 --:--:-- --:--:-- --:--:-- 1426 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 17:24:30 -0400 (0:00:00.664) 0:01:58.995 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/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.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/tmp.bY63gt8Mwc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26