ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-exu executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.007) 0:00:00.007 ****** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 04 January 2025 16:49:47 -0500 (0:00:01.114) 0:00:01.121 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.020) 0:00:01.142 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.528) 0:00:01.671 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.441) 0:00:02.113 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.033) 0:00:02.146 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.020) 0:00:02.167 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.050) 0:00:02.217 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.424) 0:00:02.641 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.013) 0:00:02.655 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.013) 0:00:02.669 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.233673", "end": "2025-01-04 16:49:49.236368", "rc": 0, "start": "2025-01-04 16:49:49.002695" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 04 January 2025 16:49:49 -0500 (0:00:00.585) 0:00:03.254 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 04 January 2025 16:49:49 -0500 (0:00:00.019) 0:00:03.274 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 04 January 2025 16:49:49 -0500 (0:00:00.025) 0:00:03.299 ****** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.823) 0:00:04.123 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.035) 0:00:04.158 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.045) 0:00:04.204 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.034) 0:00:04.238 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.096) 0:00:04.335 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.059) 0:00:04.395 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.057) 0:00:04.453 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003053", "end": "2025-01-04 16:49:50.840577", "rc": 0, "start": "2025-01-04 16:49:50.837524" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.400) 0:00:04.854 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.044) 0:00:04.898 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.036) 0:00:04.934 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.049) 0:00:04.983 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007428", "end": "2025-01-04 16:49:51.318851", "rc": 1, "start": "2025-01-04 16:49:51.311423" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.353) 0:00:05.337 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.062) 0:00:05.399 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.433) 0:00:05.833 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.038) 0:00:05.872 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.049) 0:00:05.922 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.071) 0:00:05.993 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.087) 0:00:06.081 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.045) 0:00:06.127 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.040) 0:00:06.167 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.038) 0:00:06.206 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:49:54 -0500 (0:00:01.855) 0:00:08.062 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:49:55 -0500 (0:00:01.748) 0:00:09.810 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.070) 0:00:09.880 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.065) 0:00:09.946 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.077) 0:00:10.023 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.082) 0:00:10.105 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.102) 0:00:10.208 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.099) 0:00:10.308 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.105) 0:00:10.413 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.150) 0:00:10.564 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.157) 0:00:10.722 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.095) 0:00:10.817 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.093) 0:00:10.910 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:49:57 -0500 (0:00:00.082) 0:00:10.993 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:49:57 -0500 (0:00:00.083) 0:00:11.077 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.990) 0:00:12.067 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpxheigy1f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.588) 0:00:12.656 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.848) 0:00:13.505 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.049) 0:00:13.554 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.056) 0:00:13.611 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.072) 0:00:13.684 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.092) 0:00:13.777 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.618) 0:00:14.395 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.066) 0:00:14.462 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.110) 0:00:14.572 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.079) 0:00:14.651 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.083) 0:00:14.735 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027399.4771912, "block_size": 4096, "blocks": 8, "ctime": 1736027399.4771912, "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": 1736027399.4771912, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.529) 0:00:15.264 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.055) 0:00:15.319 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018270", "end": "2025-01-04 16:50:01.682603", "rc": 1, "start": "2025-01-04 16:50:01.664333" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.399) 0:00:15.719 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.075) 0:00:15.795 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002970", "end": "2025-01-04 16:50:02.233135", "rc": 0, "start": "2025-01-04 16:50:02.230165" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.481) 0:00:16.276 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.091) 0:00:16.368 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003983", "end": "2025-01-04 16:50:03.713451", "rc": 0, "start": "2025-01-04 16:50:02.709468" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:50:03 -0500 (0:00:01.387) 0:00:17.756 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.099) 0:00:17.855 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.092) 0:00:17.947 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.102) 0:00:18.050 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.085) 0:00:18.136 ****** skipping: [managed-node1] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.086) 0:00:18.222 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.057) 0:00:18.279 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.202) 0:00:18.482 ****** 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.036047", "end": "2025-01-04 16:50:04.857434", "rc": 1, "start": "2025-01-04 16:50:04.821387" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.410) 0:00:18.893 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.077) 0:00:18.970 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.052) 0:00:19.023 ****** 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. '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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.103) 0:00:19.126 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.086) 0:00:19.212 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.110) 0:00:19.323 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003091", "end": "2025-01-04 16:50:05.730285", "rc": 0, "start": "2025-01-04 16:50:05.727194" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.525) 0:00:19.848 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.121) 0:00:19.970 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.091) 0:00:20.061 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.137) 0:00:20.199 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006040", "end": "2025-01-04 16:50:06.582463", "rc": 1, "start": "2025-01-04 16:50:06.576423" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.446) 0:00:20.646 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.070) 0:00:20.716 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.383) 0:00:21.099 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.088) 0:00:21.188 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.130) 0:00:21.319 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.105) 0:00:21.425 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.086) 0:00:21.512 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.058) 0:00:21.570 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.056) 0:00:21.626 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.059) 0:00:21.686 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:09 -0500 (0:00:01.777) 0:00:23.464 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:11 -0500 (0:00:01.627) 0:00:25.091 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.053) 0:00:25.144 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.054) 0:00:25.198 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.052) 0:00:25.251 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.050) 0:00:25.301 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.080) 0:00:25.382 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.084) 0:00:25.467 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.094) 0:00:25.562 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.120) 0:00:25.682 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.056) 0:00:25.739 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.060) 0:00:25.799 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.062) 0:00:25.861 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.050) 0:00:25.911 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.052) 0:00:25.964 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:12 -0500 (0:00:00.601) 0:00:26.565 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpnh5r2pok" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.422) 0:00:26.987 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.472) 0:00:27.459 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.053) 0:00:27.513 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.053) 0:00:27.567 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.054) 0:00:27.621 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:13 -0500 (0:00:00.053) 0:00:27.674 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.477) 0:00:28.151 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.172) 0:00:28.323 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.193) 0:00:28.517 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.141) 0:00:28.658 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.441) 0:00:29.100 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.062) 0:00:29.162 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.076) 0:00:29.239 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.123) 0:00:29.362 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027413.4262326, "block_size": 4096, "blocks": 8, "ctime": 1736027413.4262326, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736027413.4262326, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.400) 0:00:29.763 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.067) 0:00:29.831 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018469", "end": "2025-01-04 16:50:16.193855", "rc": 1, "start": "2025-01-04 16:50:16.175386" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.438) 0:00:30.269 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.091) 0:00:30.361 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002929", "end": "2025-01-04 16:50:16.745114", "rc": 0, "start": "2025-01-04 16:50:16.742185" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.412) 0:00:30.774 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.062) 0:00:30.837 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002958", "end": "2025-01-04 16:50:17.200131", "rc": 0, "start": "2025-01-04 16:50:17.197173" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.395) 0:00:31.232 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.060) 0:00:31.292 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.061) 0:00:31.353 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.059) 0:00:31.413 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.056) 0:00:31.469 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.052) 0:00:31.522 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.055) 0:00:31.577 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.128) 0:00:31.706 ****** 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.034846", "end": "2025-01-04 16:50:18.316229", "rc": 1, "start": "2025-01-04 16:50:18.281383" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.717) 0:00:32.423 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.134) 0:00:32.558 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.120) 0:00:32.678 ****** 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. '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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.159) 0:00:32.838 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.134) 0:00:32.972 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.084) 0:00:33.057 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003125", "end": "2025-01-04 16:50:19.414102", "rc": 0, "start": "2025-01-04 16:50:19.410977" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.414) 0:00:33.472 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.109) 0:00:33.581 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.173) 0:00:33.755 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.156) 0:00:33.911 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.111) 0:00:34.022 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.122) 0:00:34.144 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.076) 0:00:34.221 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.085) 0:00:34.307 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.083) 0:00:34.391 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:22 -0500 (0:00:01.830) 0:00:36.221 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:23 -0500 (0:00:01.615) 0:00:37.837 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.063) 0:00:37.901 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.052) 0:00:37.953 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.055) 0:00:38.009 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.077) 0:00:38.086 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.090) 0:00:38.177 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.075) 0:00:38.253 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.092) 0:00:38.345 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.208) 0:00:38.553 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.052) 0:00:38.606 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.056) 0:00:38.663 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.082) 0:00:38.746 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.103) 0:00:38.849 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.127) 0:00:38.977 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.613) 0:00:39.590 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmp1hzw8lmw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.390) 0:00:39.980 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.597) 0:00:40.578 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.063) 0:00:40.642 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.087) 0:00:40.729 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.094) 0:00:40.824 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.133) 0:00:40.958 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.459) 0:00:41.417 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.074) 0:00:41.491 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.150) 0:00:41.642 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.097) 0:00:41.739 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.116) 0:00:41.856 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.081) 0:00:41.938 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.085) 0:00:42.023 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.092) 0:00:42.116 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:29 -0500 (0:00:01.670) 0:00:43.786 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:31 -0500 (0:00:01.452) 0:00:45.239 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.054) 0:00:45.294 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.051) 0:00:45.345 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.049) 0:00:45.395 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.085) 0:00:45.481 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.061) 0:00:45.542 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.053) 0:00:45.595 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.060) 0:00:45.656 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.088) 0:00:45.744 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.073) 0:00:45.818 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.076) 0:00:45.894 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.093) 0:00:45.988 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.090) 0:00:46.079 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.088) 0:00:46.168 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.689) 0:00:46.857 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpgo0fln12" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:33 -0500 (0:00:00.473) 0:00:47.330 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:34 -0500 (0:00:00.726) 0:00:48.057 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:34 -0500 (0:00:00.063) 0:00:48.120 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:34 -0500 (0:00:00.059) 0:00:48.180 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:34 -0500 (0:00:00.053) 0:00:48.233 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:34 -0500 (0:00:00.055) 0:00:48.289 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:35 -0500 (0:00:00.771) 0:00:49.061 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 16:50:35 -0500 (0:00:00.155) 0:00:49.217 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:50:35 -0500 (0:00:00.115) 0:00:49.332 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027433.9246955, "block_size": 4096, "blocks": 0, "ctime": 1736027433.9246955, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33273, "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": 1736027433.9246955, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 16:50:35 -0500 (0:00:00.488) 0:00:49.821 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.147) 0:00:49.969 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.102) 0:00:50.071 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.065) 0:00:50.137 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027433.7682927, "block_size": 4096, "blocks": 8, "ctime": 1736027426.5252714, "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": 1736027426.5252714, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.375) 0:00:50.512 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.064) 0:00:50.577 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018428", "end": "2025-01-04 16:50:36.937803", "rc": 1, "start": "2025-01-04 16:50:36.919375" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:50:37 -0500 (0:00:00.452) 0:00:51.030 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:50:37 -0500 (0:00:00.144) 0:00:51.174 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003383", "end": "2025-01-04 16:50:37.636450", "rc": 0, "start": "2025-01-04 16:50:37.633067" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:50:37 -0500 (0:00:00.491) 0:00:51.665 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:50:37 -0500 (0:00:00.098) 0:00:51.764 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003594", "end": "2025-01-04 16:50:38.160667", "rc": 0, "start": "2025-01-04 16:50:38.157073" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.430) 0:00:52.194 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.096) 0:00:52.291 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.082) 0:00:52.374 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.099) 0:00:52.473 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.105) 0:00:52.578 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.083) 0:00:52.662 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.136) 0:00:52.799 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:50:38 -0500 (0:00:00.161) 0:00:52.960 ****** 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.046237", "end": "2025-01-04 16:50:39.371810", "rc": 0, "start": "2025-01-04 16:50:39.325573" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.484) 0:00:53.445 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.210) 0:00:53.656 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.093) 0:00:53.749 ****** 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. '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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.173) 0:00:53.923 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.112) 0:00:54.036 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.210) 0:00:54.246 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003143", "end": "2025-01-04 16:50:40.621730", "rc": 0, "start": "2025-01-04 16:50:40.618587" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.431) 0:00:54.677 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.091) 0:00:54.769 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.088) 0:00:54.857 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.131) 0:00:54.989 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.147) 0:00:55.137 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.121) 0:00:55.258 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.067) 0:00:55.326 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.060) 0:00:55.387 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.057) 0:00:55.444 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:43 -0500 (0:00:01.670) 0:00:57.115 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:44 -0500 (0:00:01.671) 0:00:58.786 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.100) 0:00:58.887 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.120) 0:00:59.008 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.136) 0:00:59.144 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.062) 0:00:59.207 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.092) 0:00:59.299 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.057) 0:00:59.357 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.061) 0:00:59.419 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.087) 0:00:59.506 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.057) 0:00:59.563 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.078) 0:00:59.641 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.117) 0:00:59.759 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.166) 0:00:59.925 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.150) 0:01:00.076 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:46 -0500 (0:00:00.615) 0:01:00.691 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpw2zllroe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:47 -0500 (0:00:00.609) 0:01:01.301 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.733) 0:01:02.034 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.079) 0:01:02.114 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.090) 0:01:02.205 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.087) 0:01:02.293 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.057) 0:01:02.350 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.389) 0:01:02.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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.062) 0:01:02.803 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.092) 0:01:02.895 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.083) 0:01:02.979 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.085) 0:01:03.065 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.084) 0:01:03.150 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.091) 0:01:03.241 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:51 -0500 (0:00:01.955) 0:01:05.196 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:52 -0500 (0:00:01.638) 0:01:06.835 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.059) 0:01:06.895 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.083) 0:01:06.978 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.154) 0:01:07.132 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.098) 0:01:07.231 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.088) 0:01:07.320 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.064) 0:01:07.385 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.064) 0:01:07.450 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.089) 0:01:07.539 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.061) 0:01:07.600 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.083) 0:01:07.683 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.098) 0:01:07.782 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:53 -0500 (0:00:00.079) 0:01:07.861 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:54 -0500 (0:00:00.145) 0:01:08.006 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:54 -0500 (0:00:00.598) 0:01:08.604 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmppyp760hr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.479) 0:01:09.083 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.778) 0:01:09.862 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.058) 0:01:09.921 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.084) 0:01:10.006 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.095) 0:01:10.101 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.081) 0:01:10.183 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.438) 0:01:10.621 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.078) 0:01:10.700 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.131) 0:01:10.832 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.136) 0:01:10.969 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.172) 0:01:11.142 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.062) 0:01:11.204 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.056) 0:01:11.261 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:58 -0500 (0:00:01.661) 0:01:12.922 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:00 -0500 (0:00:01.501) 0:01:14.423 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.067) 0:01:14.491 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.054) 0:01:14.546 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.051) 0:01:14.597 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.066) 0:01:14.664 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.127) 0:01:14.791 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.088) 0:01:14.879 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.105) 0:01:14.985 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.138) 0:01:15.124 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.104) 0:01:15.228 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.200) 0:01:15.429 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.143) 0:01:15.572 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.114) 0:01:15.686 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.164) 0:01:15.851 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.672) 0:01:16.523 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpkpa6dioj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.440) 0:01:16.963 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.528) 0:01:17.491 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.086) 0:01:17.578 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.158) 0:01:17.737 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.092) 0:01:17.830 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.069) 0:01:17.899 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.387) 0:01:18.286 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.113) 0:01:18.399 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.110) 0:01:18.510 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027455.7550268, "block_size": 4096, "blocks": 0, "ctime": 1736027455.7550268, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33404, "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": 1736027455.7550268, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.420) 0:01:18.931 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.090) 0:01:19.022 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.122) 0:01:19.144 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.147) 0:01:19.292 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.460) 0:01:19.753 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.077) 0:01:19.830 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017926", "end": "2025-01-04 16:51:06.245873", "rc": 1, "start": "2025-01-04 16:51:06.227947" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.469) 0:01:20.300 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.073) 0:01:20.373 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.061) 0:01:20.434 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.065) 0:01:20.499 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.054) 0:01:20.554 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.069) 0:01:20.623 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.086) 0:01:20.709 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.087) 0:01:20.796 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.089) 0:01:20.886 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.246) 0:01:21.133 ****** 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.044874", "end": "2025-01-04 16:51:07.551332", "rc": 0, "start": "2025-01-04 16:51:07.506458" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.488) 0:01:21.622 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.133) 0:01:21.755 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.088) 0:01:21.843 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.170) 0:01:22.014 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.160) 0:01:22.175 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.149) 0:01:22.324 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003413", "end": "2025-01-04 16:51:08.783915", "rc": 0, "start": "2025-01-04 16:51:08.780502" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.486) 0:01:22.811 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.060) 0:01:22.872 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:51:08 -0500 (0:00:00.083) 0:01:22.955 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.105) 0:01:23.061 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.132) 0:01:23.193 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.083) 0:01:23.277 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.060) 0:01:23.337 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.054) 0:01:23.391 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.056) 0:01:23.448 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:11 -0500 (0:00:01.668) 0:01:25.116 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:12 -0500 (0:00:01.527) 0:01:26.644 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.066) 0:01:26.711 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.054) 0:01:26.765 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.050) 0:01:26.816 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.054) 0:01:26.870 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.062) 0:01:26.933 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.181) 0:01:27.115 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.109) 0:01:27.224 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.139) 0:01:27.363 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.062) 0:01:27.426 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.065) 0:01:27.491 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.064) 0:01:27.556 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.054) 0:01:27.610 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.051) 0:01:27.662 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.571) 0:01:28.234 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmp77x3hqba" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.601) 0:01:28.835 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.477) 0:01:29.312 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.051) 0:01:29.364 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.054) 0:01:29.418 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.059) 0:01:29.478 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.050) 0:01:29.529 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.453) 0:01:29.983 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.088) 0:01:30.071 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.149) 0:01:30.221 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.159) 0:01:30.381 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.121) 0:01:30.502 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.072) 0:01:30.575 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:16 -0500 (0:00:00.093) 0:01:30.668 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:18 -0500 (0:00:01.713) 0:01:32.381 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:19 -0500 (0:00:01.523) 0:01:33.905 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.085) 0:01:33.990 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.082) 0:01:34.072 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.072) 0:01:34.144 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.144) 0:01:34.289 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.064) 0:01:34.353 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.051) 0:01:34.404 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.088) 0:01:34.493 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.141) 0:01:34.634 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.082) 0:01:34.717 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.084) 0:01:34.801 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.094) 0:01:34.896 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.080) 0:01:34.977 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.085) 0:01:35.062 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.572) 0:01:35.634 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpbylzuzef" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.375) 0:01:36.010 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.706) 0:01:36.716 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.067) 0:01:36.784 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.092) 0:01:36.876 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.090) 0:01:36.966 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.134) 0:01:37.101 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.494) 0:01:37.595 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.147) 0:01:37.743 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.114) 0:01:37.858 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.062) 0:01:37.920 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:24 -0500 (0:00:00.054) 0:01:37.974 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:24 -0500 (0:00:00.071) 0:01:38.046 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:25 -0500 (0:00:01.899) 0:01:39.946 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:27 -0500 (0:00:01.486) 0:01:41.432 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.054) 0:01:41.487 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.059) 0:01:41.546 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.249) 0:01:41.796 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.125) 0:01:41.922 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.097) 0:01:42.019 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.085) 0:01:42.105 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.101) 0:01:42.207 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.134) 0:01:42.341 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.088) 0:01:42.430 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.123) 0:01:42.553 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.152) 0:01:42.706 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.067) 0:01:42.773 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.083) 0:01:42.856 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.674) 0:01:43.531 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpqnpmm30p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.432) 0:01:43.964 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.578) 0:01:44.542 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.066) 0:01:44.609 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.068) 0:01:44.678 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.097) 0:01:44.776 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.056) 0:01:44.832 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.493) 0:01:45.326 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.133) 0:01:45.459 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.149) 0:01:45.609 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.103) 0:01:45.712 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.061) 0:01:45.774 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.055) 0:01:45.830 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.057) 0:01:45.888 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:33 -0500 (0:00:01.686) 0:01:47.575 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:35 -0500 (0:00:01.706) 0:01:49.282 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.103) 0:01:49.385 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.083) 0:01:49.469 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.096) 0:01:49.565 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.084) 0:01:49.650 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.074) 0:01:49.724 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.068) 0:01:49.792 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.064) 0:01:49.857 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.129) 0:01:49.986 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.078) 0:01:50.065 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.085) 0:01:50.151 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.105) 0:01:50.257 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.085) 0:01:50.342 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.082) 0:01:50.424 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:37 -0500 (0:00:00.668) 0:01:51.093 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmped37jck5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:37 -0500 (0:00:00.441) 0:01:51.535 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.611) 0:01:52.146 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.060) 0:01:52.207 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.059) 0:01:52.266 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.057) 0:01:52.324 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.053) 0:01:52.377 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.382) 0:01:52.759 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.080) 0:01:52.840 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.078) 0:01:52.919 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.054) 0:01:52.973 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.367) 0:01:53.341 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.053) 0:01:53.394 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018103", "end": "2025-01-04 16:51:39.755137", "rc": 1, "start": "2025-01-04 16:51:39.737034" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.390) 0:01:53.785 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.054) 0:01:53.839 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.052) 0:01:53.892 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.142) 0:01:54.034 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.054) 0:01:54.089 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.052) 0:01:54.141 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.069) 0:01:54.210 ****** skipping: [managed-node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.057) 0:01:54.268 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.053) 0:01:54.322 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.082) 0:01:54.404 ****** 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.046334", "end": "2025-01-04 16:51:40.783291", "rc": 0, "start": "2025-01-04 16:51:40.736957" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.430) 0:01:54.834 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.130) 0:01:54.965 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.112) 0:01:55.078 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.153) 0:01:55.232 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.125) 0:01:55.357 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.180) 0:01:55.538 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003067", "end": "2025-01-04 16:51:41.929444", "rc": 0, "start": "2025-01-04 16:51:41.926377" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.443) 0:01:55.981 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.093) 0:01:56.075 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.080) 0:01:56.155 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.109) 0:01:56.265 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.108) 0:01:56.373 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.085) 0:01:56.458 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.063) 0:01:56.522 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.055) 0:01:56.578 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.097) 0:01:56.675 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:44 -0500 (0:00:01.969) 0:01:58.645 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:46 -0500 (0:00:01.603) 0:02:00.249 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.060) 0:02:00.309 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.052) 0:02:00.362 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.062) 0:02:00.425 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.056) 0:02:00.481 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.062) 0:02:00.544 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.055) 0:02:00.600 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.084) 0:02:00.684 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.110) 0:02:00.795 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.065) 0:02:00.861 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.054) 0:02:00.916 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.060) 0:02:00.977 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.056) 0:02:01.033 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.055) 0:02:01.088 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.579) 0:02:01.668 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpmk9tw091" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:48 -0500 (0:00:00.471) 0:02:02.140 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:48 -0500 (0:00:00.774) 0:02:02.914 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:49 -0500 (0:00:00.088) 0:02:03.003 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:49 -0500 (0:00:00.094) 0:02:03.097 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:49 -0500 (0:00:00.091) 0:02:03.189 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:49 -0500 (0:00:00.057) 0:02:03.246 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:51:49 -0500 (0:00:00.408) 0:02:03.654 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:51:49 -0500 (0:00:00.089) 0:02:03.744 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:49 -0500 (0:00:00.153) 0:02:03.898 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:50 -0500 (0:00:00.096) 0:02:03.994 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:50 -0500 (0:00:00.069) 0:02:04.063 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:50 -0500 (0:00:00.055) 0:02:04.119 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:50 -0500 (0:00:00.054) 0:02:04.173 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:51 -0500 (0:00:01.694) 0:02:05.868 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:53 -0500 (0:00:01.538) 0:02:07.407 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.056) 0:02:07.464 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.070) 0:02:07.534 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.082) 0:02:07.617 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.088) 0:02:07.705 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.105) 0:02:07.812 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.084) 0:02:07.896 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.104) 0:02:08.001 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.147) 0:02:08.148 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.083) 0:02:08.232 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.088) 0:02:08.320 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.100) 0:02:08.421 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.085) 0:02:08.506 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.087) 0:02:08.594 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:55 -0500 (0:00:00.847) 0:02:09.441 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmp04cy6248" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:55 -0500 (0:00:00.414) 0:02:09.856 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.729) 0:02:10.585 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.085) 0:02:10.671 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.088) 0:02:10.760 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.101) 0:02:10.861 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.066) 0:02:10.928 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:51:57 -0500 (0:00:00.406) 0:02:11.335 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:57 -0500 (0:00:00.108) 0:02:11.444 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:57 -0500 (0:00:00.088) 0:02:11.533 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:57 -0500 (0:00:00.061) 0:02:11.595 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:57 -0500 (0:00:00.059) 0:02:11.655 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:57 -0500 (0:00:00.084) 0:02:11.740 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:59 -0500 (0:00:01.804) 0:02:13.544 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:52:01 -0500 (0:00:01.482) 0:02:15.026 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.072) 0:02:15.099 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.085) 0:02:15.184 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.083) 0:02:15.268 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.085) 0:02:15.354 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.075) 0:02:15.429 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.084) 0:02:15.514 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.087) 0:02:15.601 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.098) 0:02:15.700 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.053) 0:02:15.753 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.061) 0:02:15.815 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.092) 0:02:15.907 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:52:02 -0500 (0:00:00.142) 0:02:16.049 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:52:02 -0500 (0:00:00.247) 0:02:16.297 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:52:02 -0500 (0:00:00.599) 0:02:16.896 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpo_55ne3a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.402) 0:02:17.299 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.582) 0:02:17.881 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.083) 0:02:17.965 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.087) 0:02:18.053 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.117) 0:02:18.171 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.086) 0:02:18.257 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.574) 0:02:18.832 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.105) 0:02:18.938 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.143) 0:02:19.081 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.100) 0:02:19.182 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.159) 0:02:19.341 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.116) 0:02:19.458 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.103) 0:02:19.561 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:52:07 -0500 (0:00:01.725) 0:02:21.286 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:52:08 -0500 (0:00:01.556) 0:02:22.842 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:52:08 -0500 (0:00:00.091) 0:02:22.933 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.087) 0:02:23.021 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.109) 0:02:23.130 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.092) 0:02:23.222 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.100) 0:02:23.323 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.054) 0:02:23.378 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.081) 0:02:23.459 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.095) 0:02:23.555 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.052) 0:02:23.607 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.148) 0:02:23.756 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.063) 0:02:23.820 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.053) 0:02:23.873 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.056) 0:02:23.929 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:52:10 -0500 (0:00:00.598) 0:02:24.527 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42044yxapbpmz/tmpaeubsawo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:52:11 -0500 (0:00:00.503) 0:02:25.031 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:52:11 -0500 (0:00:00.680) 0:02:25.711 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:52:11 -0500 (0:00:00.057) 0:02:25.768 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:52:11 -0500 (0:00:00.084) 0:02:25.853 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:52:11 -0500 (0:00:00.080) 0:02:25.934 ****** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.099) 0:02:26.034 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.428) 0:02:26.462 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.118) 0:02:26.581 ****** included: /tmp/collections-exu/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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.227) 0:02:26.808 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.143) 0:02:26.952 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.410) 0:02:27.363 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.094) 0:02:27.457 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019369", "end": "2025-01-04 16:52:13.869323", "rc": 1, "start": "2025-01-04 16:52:13.849954" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.444) 0:02:27.901 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.058) 0:02:27.960 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:52:14 -0500 (0:00:00.053) 0:02:28.013 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:52:14 -0500 (0:00:00.052) 0:02:28.066 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:52:14 -0500 (0:00:00.056) 0:02:28.123 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:52:14 -0500 (0:00:00.053) 0:02:28.176 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 04 January 2025 16:52:14 -0500 (0:00:00.054) 0:02:28.231 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.883540", "end": "2025-01-04 16:52:15.448924", "rc": 0, "start": "2025-01-04 16:52:14.565384" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 04 January 2025 16:52:15 -0500 (0:00:01.252) 0:02:29.484 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 04 January 2025 16:52:15 -0500 (0:00:00.056) 0:02:29.540 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:52:15 -0500 (0:00:00.063) 0:02:29.604 ****** skipping: [managed-node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:52:15 -0500 (0:00:00.060) 0:02:29.664 ****** 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/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:52:15 -0500 (0:00:00.056) 0:02:29.721 ****** included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:52:15 -0500 (0:00:00.134) 0:02:29.855 ****** 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.042702", "end": "2025-01-04 16:52:16.236084", "rc": 0, "start": "2025-01-04 16:52:16.193382" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.416) 0:02:30.272 ****** 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.008393", "end": "2025-01-04 16:52:16.626298", "rc": 0, "start": "2025-01-04 16:52:16.617905" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:21:98:8c:70:8f brd ff:ff:ff:ff:ff:ff inet 10.31.11.45/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2428sec preferred_lft 2428sec inet6 fe80::1021:98ff:fe8c:708f/64 scope link valid_lft forever preferred_lft forever 43: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 46:81:c3:d6:a5:3f brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.45 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.45 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.397) 0:02:30.669 ****** 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.409211", "end": "2025-01-04 16:52:17.465440", "rc": 0, "start": "2025-01-04 16:52:17.056229" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 831 0 --:--:-- --:--:-- --:--:-- 828 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 15315 0 --:--:-- --:--:-- --:--:-- 15315 PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Saturday 04 January 2025 16:52:17 -0500 (0:00:00.808) 0:02:31.478 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-exu/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26