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-Qoc 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_nm.yml ************************************************** 2 plays in /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.014) 0:00:00.014 ***** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Wednesday 22 January 2025 19:52:05 -0500 (0:00:01.250) 0:00:01.265 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 19:52:05 -0500 (0:00:00.018) 0:00:01.284 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 19:52:05 -0500 (0:00:00.649) 0:00:01.933 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 19:52:06 -0500 (0:00:00.591) 0:00:02.525 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 19:52:06 -0500 (0:00:00.021) 0:00:02.547 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 19:52:06 -0500 (0:00:00.012) 0:00:02.560 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 19:52:06 -0500 (0:00:00.043) 0:00:02.603 ***** ok: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.524) 0:00:03.128 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.022) 0:00:03.151 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.019) 0:00:03.170 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.237730", "end": "2025-01-22 19:52:07.698869", "rc": 0, "start": "2025-01-22 19:52:07.461139" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.624) 0:00:03.795 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.041) 0:00:03.836 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.033) 0:00:03.870 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.807) 0:00:04.678 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.015) 0:00:04.694 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.024) 0:00:04.718 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.017) 0:00:04.735 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.049) 0:00:04.785 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.022) 0:00:04.807 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.023) 0:00:04.831 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003113", "end": "2025-01-22 19:52:09.143531", "rc": 0, "start": "2025-01-22 19:52:09.140418" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.355) 0:00:05.187 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.018) 0:00:05.206 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.016) 0:00:05.222 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.027) 0:00:05.250 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007584", "end": "2025-01-22 19:52:09.536789", "rc": 1, "start": "2025-01-22 19:52:09.529205" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.335) 0:00:05.585 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.022) 0:00:05.608 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.333) 0:00:05.941 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.021) 0:00:05.963 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.026) 0:00:05.990 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.041) 0:00:06.031 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.031) 0:00:06.062 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.037) 0:00:06.100 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.018) 0:00:06.119 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.018) 0:00:06.137 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:11 -0500 (0:00:01.831) 0:00:07.969 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:13 -0500 (0:00:01.833) 0:00:09.802 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:13 -0500 (0:00:00.033) 0:00:09.836 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:13 -0500 (0:00:00.029) 0:00:09.866 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:13 -0500 (0:00:00.042) 0:00:09.908 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:13 -0500 (0:00:00.069) 0:00:09.978 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:14 -0500 (0:00:00.090) 0:00:10.068 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:14 -0500 (0:00:00.134) 0:00:10.203 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:14 -0500 (0:00:00.134) 0:00:10.337 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:14 -0500 (0:00:00.235) 0:00:10.573 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:14 -0500 (0:00:00.140) 0:00:10.713 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:14 -0500 (0:00:00.092) 0:00:10.806 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:14 -0500 (0:00:00.094) 0:00:10.901 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:15 -0500 (0:00:01.027) 0:00:11.929 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.072) 0:00:12.002 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.032) 0:00:12.034 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.030) 0:00:12.065 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b611a044-f0db-4c71-a5f2-344072c64c89 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.873) 0:00:12.938 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.061) 0:00:13.000 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b611a044-f0db-4c71-a5f2-344072c64c89" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.089) 0:00:13.089 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b611a044-f0db-4c71-a5f2-344072c64c89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b611a044-f0db-4c71-a5f2-344072c64c89" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.093) 0:00:13.182 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.046) 0:00:13.229 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.473) 0:00:13.703 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b611a044-f0db-4c71-a5f2-344072c64c89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b611a044-f0db-4c71-a5f2-344072c64c89" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.039) 0:00:13.742 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.156) 0:00:13.899 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.094) 0:00:13.993 ***** ok: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.055) 0:00:14.049 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737593536.830711, "block_size": 4096, "blocks": 8, "ctime": 1737593536.7867105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737593536.7867105, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.371) 0:00:14.421 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.033) 0:00:14.455 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019608", "end": "2025-01-22 19:52:18.782183", "rc": 0, "start": "2025-01-22 19:52:18.762575" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.389) 0:00:14.844 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.035) 0:00:14.879 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.042) 0:00:14.922 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.036) 0:00:14.958 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.041) 0:00:14.999 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.050) 0:00:15.050 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.067) 0:00:15.118 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.098) 0:00:15.217 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.108) 0:00:15.325 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.169) 0:00:15.495 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.139) 0:00:15.635 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737593536.788735, "block_size": 4096, "blocks": 0, "ctime": 1737593536.788735, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36624, "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": 1737593536.788735, "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.393) 0:00:16.028 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.057) 0:00:16.085 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.055) 0:00:16.141 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.099) 0:00:16.240 ***** fatal: [managed-node2]: 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.056074", "end": "2025-01-22 19:52:20.615618", "rc": 1, "start": "2025-01-22 19:52:20.559544" } STDOUT: Connection 'statebr' (b611a044-f0db-4c71-a5f2-344072c64c89) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.438) 0:00:16.679 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.053) 0:00:16.733 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.032) 0:00:16.766 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.064) 0:00:16.830 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.054) 0:00:16.885 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.092) 0:00:16.978 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003181", "end": "2025-01-22 19:52:21.309256", "rc": 0, "start": "2025-01-22 19:52:21.306075" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.499) 0:00:17.478 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.059) 0:00:17.538 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.058) 0:00:17.596 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.076) 0:00:17.673 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005739", "end": "2025-01-22 19:52:21.966622", "rc": 1, "start": "2025-01-22 19:52:21.960883" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.378) 0:00:18.052 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.092) 0:00:18.145 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.396) 0:00:18.541 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.056) 0:00:18.598 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.090) 0:00:18.688 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.078) 0:00:18.767 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.073) 0:00:18.840 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.118) 0:00:18.959 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:23 -0500 (0:00:00.056) 0:00:19.016 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:23 -0500 (0:00:00.059) 0:00:19.075 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:24 -0500 (0:00:01.723) 0:00:20.799 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:26 -0500 (0:00:01.553) 0:00:22.352 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.113) 0:00:22.465 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.104) 0:00:22.570 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.119) 0:00:22.690 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.124) 0:00:22.814 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.138) 0:00:22.953 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:27 -0500 (0:00:00.129) 0:00:23.082 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:27 -0500 (0:00:00.126) 0:00:23.209 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:27 -0500 (0:00:00.170) 0:00:23.379 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:27 -0500 (0:00:00.052) 0:00:23.431 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:27 -0500 (0:00:00.114) 0:00:23.546 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:27 -0500 (0:00:00.069) 0:00:23.615 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.583) 0:00:24.198 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.082) 0:00:24.281 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.038) 0:00:24.320 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.033) 0:00:24.353 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f192fa1e-9e8f-4f73-accb-bf995e3fa4b6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.531) 0:00:24.885 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.030) 0:00:24.915 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f192fa1e-9e8f-4f73-accb-bf995e3fa4b6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.042) 0:00:24.957 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f192fa1e-9e8f-4f73-accb-bf995e3fa4b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f192fa1e-9e8f-4f73-accb-bf995e3fa4b6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.046) 0:00:25.004 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.054) 0:00:25.059 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.458) 0:00:25.517 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f192fa1e-9e8f-4f73-accb-bf995e3fa4b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f192fa1e-9e8f-4f73-accb-bf995e3fa4b6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.037) 0:00:25.555 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.063) 0:00:25.618 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.083) 0:00:25.702 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.387) 0:00:26.090 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.058) 0:00:26.149 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.095) 0:00:26.244 ***** ok: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.053) 0:00:26.298 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737593548.8098085, "block_size": 4096, "blocks": 8, "ctime": 1737593548.8098085, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301240, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737593548.8098085, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.402) 0:00:26.700 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.057) 0:00:26.757 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018664", "end": "2025-01-22 19:52:31.091954", "rc": 0, "start": "2025-01-22 19:52:31.073290" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.421) 0:00:27.179 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.060) 0:00:27.239 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.053) 0:00:27.293 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.037) 0:00:27.330 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.046) 0:00:27.376 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.042) 0:00:27.419 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.040) 0:00:27.459 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.037) 0:00:27.496 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.068) 0:00:27.565 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.048) 0:00:27.614 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.034) 0:00:27.648 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.059) 0:00:27.707 ***** fatal: [managed-node2]: 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.036072", "end": "2025-01-22 19:52:32.037894", "rc": 1, "start": "2025-01-22 19:52:32.001822" } STDOUT: Connection 'statebr' (f192fa1e-9e8f-4f73-accb-bf995e3fa4b6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.402) 0:00:28.109 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.082) 0:00:28.192 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.053) 0:00:28.246 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.098) 0:00:28.345 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.063) 0:00:28.409 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.071) 0:00:28.481 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003079", "end": "2025-01-22 19:52:32.774482", "rc": 0, "start": "2025-01-22 19:52:32.771403" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.355) 0:00:28.837 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.039) 0:00:28.876 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.036) 0:00:28.912 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.089) 0:00:29.002 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.071) 0:00:29.073 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.103) 0:00:29.176 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.093) 0:00:29.269 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.063) 0:00:29.333 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.052) 0:00:29.385 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:35 -0500 (0:00:01.697) 0:00:31.083 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:36 -0500 (0:00:01.464) 0:00:32.548 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.034) 0:00:32.582 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.030) 0:00:32.613 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.085) 0:00:32.699 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.081) 0:00:32.780 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.102) 0:00:32.883 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.081) 0:00:32.965 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:37 -0500 (0:00:00.094) 0:00:33.060 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:37 -0500 (0:00:00.111) 0:00:33.171 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:37 -0500 (0:00:00.039) 0:00:33.211 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:37 -0500 (0:00:00.034) 0:00:33.246 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:37 -0500 (0:00:00.063) 0:00:33.309 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:38 -0500 (0:00:00.955) 0:00:34.264 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:38 -0500 (0:00:00.148) 0:00:34.413 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:38 -0500 (0:00:00.056) 0:00:34.470 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:38 -0500 (0:00:00.058) 0:00:34.529 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.654) 0:00:35.184 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.050) 0:00:35.235 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.065) 0:00:35.300 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.058) 0:00:35.358 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.099) 0:00:35.458 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.372) 0:00:35.830 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.036) 0:00:35.867 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.061) 0:00:35.928 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.111) 0:00:36.040 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.107) 0:00:36.147 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.093) 0:00:36.241 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.044) 0:00:36.286 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.045) 0:00:36.331 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:42 -0500 (0:00:01.719) 0:00:38.050 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:43 -0500 (0:00:01.828) 0:00:39.878 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:43 -0500 (0:00:00.059) 0:00:39.937 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:43 -0500 (0:00:00.054) 0:00:39.992 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.085) 0:00:40.077 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.153) 0:00:40.231 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.128) 0:00:40.359 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.085) 0:00:40.445 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.117) 0:00:40.563 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.131) 0:00:40.694 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.044) 0:00:40.739 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.052) 0:00:40.792 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.097) 0:00:40.890 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.705) 0:00:41.596 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.062) 0:00:41.658 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.034) 0:00:41.693 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.048) 0:00:41.741 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:46 -0500 (0:00:00.835) 0:00:42.577 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:46 -0500 (0:00:00.102) 0:00:42.679 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:46 -0500 (0:00:00.069) 0:00:42.749 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe1c7fb5-3d25-49c3-a89c-8186ff08e685 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:46 -0500 (0:00:00.106) 0:00:42.855 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:46 -0500 (0:00:00.084) 0:00:42.940 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:52:47 -0500 (0:00:00.422) 0:00:43.362 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 19:52:47 -0500 (0:00:00.125) 0:00:43.488 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:52:47 -0500 (0:00:00.095) 0:00:43.584 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737593559.0521688, "block_size": 4096, "blocks": 0, "ctime": 1737593559.0521688, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36755, "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": 1737593559.0521688, "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 19:52:47 -0500 (0:00:00.377) 0:00:43.961 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.066) 0:00:44.028 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.109) 0:00:44.138 ***** ok: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.072) 0:00:44.211 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737593559.1028924, "block_size": 4096, "blocks": 8, "ctime": 1737593559.049892, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737593559.049892, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.515) 0:00:44.726 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.055) 0:00:44.782 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019142", "end": "2025-01-22 19:52:49.097042", "rc": 0, "start": "2025-01-22 19:52:49.077900" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.411) 0:00:45.193 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.057) 0:00:45.251 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.118) 0:00:45.369 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.105) 0:00:45.475 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.054) 0:00:45.529 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.077) 0:00:45.607 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.069) 0:00:45.676 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.062) 0:00:45.738 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.065) 0:00:45.804 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.082) 0:00:45.886 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.070) 0:00:45.957 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:52:50 -0500 (0:00:00.104) 0:00:46.061 ***** fatal: [managed-node2]: 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.068206", "end": "2025-01-22 19:52:50.432444", "rc": 1, "start": "2025-01-22 19:52:50.364238" } STDOUT: Connection 'statebr' (fe1c7fb5-3d25-49c3-a89c-8186ff08e685) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 22 January 2025 19:52:50 -0500 (0:00:00.451) 0:00:46.513 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:52:50 -0500 (0:00:00.171) 0:00:46.684 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:52:50 -0500 (0:00:00.057) 0:00:46.741 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:52:50 -0500 (0:00:00.103) 0:00:46.845 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:52:50 -0500 (0:00:00.102) 0:00:46.947 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.136) 0:00:47.084 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004013", "end": "2025-01-22 19:52:51.428144", "rc": 0, "start": "2025-01-22 19:52:51.424131" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.423) 0:00:47.507 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.055) 0:00:47.563 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.062) 0:00:47.626 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.096) 0:00:47.722 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.115) 0:00:47.837 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.104) 0:00:47.942 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:52 -0500 (0:00:00.176) 0:00:48.119 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:52 -0500 (0:00:00.061) 0:00:48.180 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:52 -0500 (0:00:00.069) 0:00:48.249 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:53 -0500 (0:00:01.671) 0:00:49.921 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:55 -0500 (0:00:01.562) 0:00:51.483 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:55 -0500 (0:00:00.073) 0:00:51.556 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:55 -0500 (0:00:00.097) 0:00:51.654 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:55 -0500 (0:00:00.093) 0:00:51.748 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:55 -0500 (0:00:00.155) 0:00:51.903 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.097) 0:00:52.000 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.078) 0:00:52.079 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.098) 0:00:52.178 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.122) 0:00:52.300 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.059) 0:00:52.360 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.125) 0:00:52.485 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.073) 0:00:52.559 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.596) 0:00:53.155 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.075) 0:00:53.231 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.036) 0:00:53.268 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.039) 0:00:53.307 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.585) 0:00:53.893 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.035) 0:00:53.928 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.039) 0:00:53.968 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.043) 0:00:54.011 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.034) 0:00:54.046 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.404) 0:00:54.451 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.059) 0:00:54.510 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.112) 0:00:54.623 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.159) 0:00:54.783 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.091) 0:00:54.874 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.059) 0:00:54.934 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.059) 0:00:54.994 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:00 -0500 (0:00:01.724) 0:00:56.719 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:02 -0500 (0:00:01.486) 0:00:58.205 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.053) 0:00:58.259 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.057) 0:00:58.317 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.075) 0:00:58.393 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.087) 0:00:58.480 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.156) 0:00:58.636 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.156) 0:00:58.793 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.148) 0:00:58.942 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:03 -0500 (0:00:00.425) 0:00:59.367 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:03 -0500 (0:00:00.076) 0:00:59.444 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:03 -0500 (0:00:00.054) 0:00:59.498 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:03 -0500 (0:00:00.101) 0:00:59.600 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.819) 0:01:00.419 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.089) 0:01:00.509 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.055) 0:01:00.565 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.053) 0:01:00.619 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.672) 0:01:01.292 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.053) 0:01:01.346 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.057) 0:01:01.403 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.039) 0:01:01.442 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.040) 0:01:01.482 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.433) 0:01:01.916 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 19:53:06 -0500 (0:00:00.160) 0:01:02.076 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:06 -0500 (0:00:00.114) 0:01:02.190 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:06 -0500 (0:00:00.111) 0:01:02.301 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:06 -0500 (0:00:00.118) 0:01:02.420 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:06 -0500 (0:00:00.112) 0:01:02.533 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:06 -0500 (0:00:00.075) 0:01:02.608 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:08 -0500 (0:00:01.723) 0:01:04.331 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:09 -0500 (0:00:01.472) 0:01:05.803 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.036) 0:01:05.839 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.030) 0:01:05.870 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.035) 0:01:05.905 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.076) 0:01:05.982 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.180) 0:01:06.162 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.052) 0:01:06.215 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.061) 0:01:06.276 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.090) 0:01:06.367 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.032) 0:01:06.399 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.030) 0:01:06.430 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.063) 0:01:06.494 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.673) 0:01:07.168 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.110) 0:01:07.278 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.089) 0:01:07.367 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.101) 0:01:07.469 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.911) 0:01:08.380 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.052) 0:01:08.432 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.059) 0:01:08.491 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.057) 0:01:08.548 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.035) 0:01:08.584 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.415) 0:01:09.000 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.077) 0:01:09.078 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.086) 0:01:09.165 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737593577.7730715, "block_size": 4096, "blocks": 0, "ctime": 1737593577.7730715, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36886, "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": 1737593577.7730715, "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.366) 0:01:09.531 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.037) 0:01:09.569 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.065) 0:01:09.634 ***** ok: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.054) 0:01:09.688 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.422) 0:01:10.110 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.048) 0:01:10.159 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019090", "end": "2025-01-22 19:53:14.477474", "rc": 1, "start": "2025-01-22 19:53:14.458384" } 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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.451) 0:01:10.610 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.054) 0:01:10.664 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.052) 0:01:10.717 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.052) 0:01:10.770 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.115) 0:01:10.886 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.078) 0:01:10.964 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.057) 0:01:11.022 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.081) 0:01:11.104 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.054) 0:01:11.158 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.100) 0:01:11.258 ***** fatal: [managed-node2]: 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.067697", "end": "2025-01-22 19:53:15.654452", "rc": 1, "start": "2025-01-22 19:53:15.586755" } STDOUT: Connection 'statebr' (ac37d6bf-5a7d-41ac-b2c0-cdef77bb8409) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.458) 0:01:11.717 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.055) 0:01:11.772 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.036) 0:01:11.809 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.068) 0:01:11.878 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.052) 0:01:11.930 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.054) 0:01:11.984 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003113", "end": "2025-01-22 19:53:16.287233", "rc": 0, "start": "2025-01-22 19:53:16.284120" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.414) 0:01:12.399 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.034) 0:01:12.433 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.036) 0:01:12.469 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.064) 0:01:12.533 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.071) 0:01:12.605 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.064) 0:01:12.669 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.058) 0:01:12.728 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.040) 0:01:12.768 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:16 -0500 (0:00:00.049) 0:01:12.818 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:18 -0500 (0:00:01.667) 0:01:14.486 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:20 -0500 (0:00:01.566) 0:01:16.052 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.054) 0:01:16.107 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.044) 0:01:16.152 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.035) 0:01:16.188 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.069) 0:01:16.257 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.069) 0:01:16.327 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.053) 0:01:16.380 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.077) 0:01:16.457 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.121) 0:01:16.579 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.054) 0:01:16.634 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.064) 0:01:16.698 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:20 -0500 (0:00:00.106) 0:01:16.805 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:21 -0500 (0:00:00.651) 0:01:17.456 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:21 -0500 (0:00:00.102) 0:01:17.558 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:21 -0500 (0:00:00.050) 0:01:17.609 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:21 -0500 (0:00:00.049) 0:01:17.659 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:22 -0500 (0:00:00.646) 0:01:18.305 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:22 -0500 (0:00:00.107) 0:01:18.412 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:22 -0500 (0:00:00.052) 0:01:18.464 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:22 -0500 (0:00:00.077) 0:01:18.542 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:22 -0500 (0:00:00.078) 0:01:18.621 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:53:23 -0500 (0:00:00.456) 0:01:19.077 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:53:23 -0500 (0:00:00.051) 0:01:19.129 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:23 -0500 (0:00:00.086) 0:01:19.216 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:23 -0500 (0:00:00.066) 0:01:19.282 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:23 -0500 (0:00:00.057) 0:01:19.339 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:23 -0500 (0:00:00.036) 0:01:19.376 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:23 -0500 (0:00:00.048) 0:01:19.424 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:25 -0500 (0:00:01.959) 0:01:21.384 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:26 -0500 (0:00:01.600) 0:01:22.984 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.038) 0:01:23.023 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.034) 0:01:23.058 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.041) 0:01:23.099 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.052) 0:01:23.152 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.063) 0:01:23.216 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.052) 0:01:23.269 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.059) 0:01:23.328 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.088) 0:01:23.416 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.032) 0:01:23.448 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.031) 0:01:23.480 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:27 -0500 (0:00:00.062) 0:01:23.542 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:28 -0500 (0:00:00.565) 0:01:24.108 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:28 -0500 (0:00:00.090) 0:01:24.199 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:28 -0500 (0:00:00.037) 0:01:24.236 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:28 -0500 (0:00:00.088) 0:01:24.325 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:28 -0500 (0:00:00.584) 0:01:24.909 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:28 -0500 (0:00:00.031) 0:01:24.941 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:28 -0500 (0:00:00.036) 0:01:24.977 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2069509a-2665-4174-8c32-50702b5f80f5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.046) 0:01:25.024 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.031) 0:01:25.056 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.356) 0:01:25.413 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.069) 0:01:25.482 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.062) 0:01:25.545 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.059) 0:01:25.604 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.039) 0:01:25.644 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:29 -0500 (0:00:00.044) 0:01:25.688 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:31 -0500 (0:00:01.668) 0:01:27.357 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:32 -0500 (0:00:01.617) 0:01:28.974 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.058) 0:01:29.032 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.053) 0:01:29.086 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.061) 0:01:29.148 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.089) 0:01:29.237 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.097) 0:01:29.334 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.080) 0:01:29.414 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.097) 0:01:29.512 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.116) 0:01:29.628 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.036) 0:01:29.665 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.038) 0:01:29.703 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:33 -0500 (0:00:00.064) 0:01:29.767 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:34 -0500 (0:00:00.553) 0:01:30.321 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:34 -0500 (0:00:00.064) 0:01:30.385 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:34 -0500 (0:00:00.071) 0:01:30.457 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:34 -0500 (0:00:00.032) 0:01:30.490 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.553) 0:01:31.044 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.032) 0:01:31.077 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.036) 0:01:31.113 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.039) 0:01:31.152 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.047) 0:01:31.199 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.380) 0:01:31.580 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.060) 0:01:31.640 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.070) 0:01:31.710 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.065) 0:01:31.775 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.060) 0:01:31.835 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.079) 0:01:31.915 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:35 -0500 (0:00:00.036) 0:01:31.952 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:37 -0500 (0:00:01.668) 0:01:33.620 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:39 -0500 (0:00:01.488) 0:01:35.109 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.035) 0:01:35.144 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.032) 0:01:35.177 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.032) 0:01:35.209 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.066) 0:01:35.275 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.111) 0:01:35.387 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.061) 0:01:35.448 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.067) 0:01:35.515 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.126) 0:01:35.642 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.048) 0:01:35.690 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.051) 0:01:35.742 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:39 -0500 (0:00:00.156) 0:01:35.898 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:40 -0500 (0:00:00.744) 0:01:36.643 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:40 -0500 (0:00:00.111) 0:01:36.755 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:40 -0500 (0:00:00.054) 0:01:36.809 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:40 -0500 (0:00:00.052) 0:01:36.861 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:41 -0500 (0:00:00.636) 0:01:37.498 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:41 -0500 (0:00:00.054) 0:01:37.553 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:41 -0500 (0:00:00.059) 0:01:37.612 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:41 -0500 (0:00:00.048) 0:01:37.661 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:41 -0500 (0:00:00.039) 0:01:37.701 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:53:42 -0500 (0:00:00.396) 0:01:38.097 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 19:53:42 -0500 (0:00:00.098) 0:01:38.195 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:53:42 -0500 (0:00:00.086) 0:01:38.282 ***** ok: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:53:42 -0500 (0:00:00.038) 0:01:38.320 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:53:42 -0500 (0:00:00.417) 0:01:38.737 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:53:42 -0500 (0:00:00.039) 0:01:38.776 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018255", "end": "2025-01-22 19:53:43.117120", "rc": 1, "start": "2025-01-22 19:53:43.098865" } 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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.429) 0:01:39.206 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.055) 0:01:39.262 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.054) 0:01:39.317 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.053) 0:01:39.371 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.051) 0:01:39.422 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.059) 0:01:39.481 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.065) 0:01:39.547 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.132) 0:01:39.679 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:53:43 -0500 (0:00:00.072) 0:01:39.751 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:53:44 -0500 (0:00:00.371) 0:01:40.123 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:53:44 -0500 (0:00:00.057) 0:01:40.180 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:53:44 -0500 (0:00:00.054) 0:01:40.235 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:53:44 -0500 (0:00:00.174) 0:01:40.410 ***** fatal: [managed-node2]: 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.035652", "end": "2025-01-22 19:53:44.768927", "rc": 1, "start": "2025-01-22 19:53:44.733275" } 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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 22 January 2025 19:53:44 -0500 (0:00:00.477) 0:01:40.887 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:53:44 -0500 (0:00:00.098) 0:01:40.986 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.064) 0:01:41.050 ***** ok: [managed-node2] => (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-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.106) 0:01:41.157 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.087) 0:01:41.244 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.090) 0:01:41.335 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003080", "end": "2025-01-22 19:53:45.724162", "rc": 0, "start": "2025-01-22 19:53:45.721082" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.472) 0:01:41.808 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.045) 0:01:41.854 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.043) 0:01:41.897 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:53:45 -0500 (0:00:00.076) 0:01:41.974 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:46 -0500 (0:00:00.148) 0:01:42.123 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:46 -0500 (0:00:00.075) 0:01:42.199 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:46 -0500 (0:00:00.075) 0:01:42.274 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:46 -0500 (0:00:00.043) 0:01:42.318 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:46 -0500 (0:00:00.059) 0:01:42.378 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:48 -0500 (0:00:01.660) 0:01:44.038 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:49 -0500 (0:00:01.496) 0:01:45.534 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:49 -0500 (0:00:00.043) 0:01:45.577 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:49 -0500 (0:00:00.041) 0:01:45.619 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:49 -0500 (0:00:00.039) 0:01:45.659 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:49 -0500 (0:00:00.055) 0:01:45.714 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:49 -0500 (0:00:00.063) 0:01:45.778 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:49 -0500 (0:00:00.104) 0:01:45.883 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:49 -0500 (0:00:00.062) 0:01:45.945 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:50 -0500 (0:00:00.093) 0:01:46.039 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:50 -0500 (0:00:00.034) 0:01:46.073 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:50 -0500 (0:00:00.033) 0:01:46.106 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:50 -0500 (0:00:00.066) 0:01:46.173 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:50 -0500 (0:00:00.655) 0:01:46.828 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:50 -0500 (0:00:00.087) 0:01:46.915 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:50 -0500 (0:00:00.037) 0:01:46.953 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:51 -0500 (0:00:00.050) 0:01:47.003 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:51 -0500 (0:00:00.629) 0:01:47.632 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:51 -0500 (0:00:00.047) 0:01:47.679 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:51 -0500 (0:00:00.050) 0:01:47.730 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:51 -0500 (0:00:00.056) 0:01:47.786 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:51 -0500 (0:00:00.040) 0:01:47.826 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:53:52 -0500 (0:00:00.505) 0:01:48.332 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:53:52 -0500 (0:00:00.125) 0:01:48.458 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:52 -0500 (0:00:00.123) 0:01:48.582 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:52 -0500 (0:00:00.135) 0:01:48.718 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:52 -0500 (0:00:00.124) 0:01:48.842 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:52 -0500 (0:00:00.063) 0:01:48.905 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:53 -0500 (0:00:00.118) 0:01:49.024 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:54 -0500 (0:00:01.790) 0:01:50.814 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:56 -0500 (0:00:01.508) 0:01:52.322 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:56 -0500 (0:00:00.048) 0:01:52.371 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:56 -0500 (0:00:00.048) 0:01:52.419 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:56 -0500 (0:00:00.038) 0:01:52.458 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:56 -0500 (0:00:00.115) 0:01:52.573 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:56 -0500 (0:00:00.090) 0:01:52.664 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:56 -0500 (0:00:00.090) 0:01:52.754 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:56 -0500 (0:00:00.097) 0:01:52.852 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.153) 0:01:53.006 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.065) 0:01:53.071 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.056) 0:01:53.127 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.095) 0:01:53.223 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.578) 0:01:53.802 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.065) 0:01:53.867 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.032) 0:01:53.900 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:57 -0500 (0:00:00.032) 0:01:53.933 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:58 -0500 (0:00:00.505) 0:01:54.438 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:58 -0500 (0:00:00.038) 0:01:54.476 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:58 -0500 (0:00:00.059) 0:01:54.535 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bd6ceb07-11a5-47d7-b97f-8c0a83baa401 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:58 -0500 (0:00:00.071) 0:01:54.606 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:58 -0500 (0:00:00.052) 0:01:54.659 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 19:53:59 -0500 (0:00:00.461) 0:01:55.120 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:59 -0500 (0:00:00.081) 0:01:55.201 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:59 -0500 (0:00:00.081) 0:01:55.283 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:59 -0500 (0:00:00.071) 0:01:55.354 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:59 -0500 (0:00:00.042) 0:01:55.397 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:59 -0500 (0:00:00.056) 0:01:55.453 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:54:01 -0500 (0:00:01.650) 0:01:57.103 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:54:02 -0500 (0:00:01.509) 0:01:58.613 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:54:02 -0500 (0:00:00.035) 0:01:58.649 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:54:02 -0500 (0:00:00.031) 0:01:58.680 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:54:02 -0500 (0:00:00.096) 0:01:58.776 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:54:02 -0500 (0:00:00.071) 0:01:58.847 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:54:02 -0500 (0:00:00.075) 0:01:58.923 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:54:02 -0500 (0:00:00.064) 0:01:58.987 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:54:03 -0500 (0:00:00.062) 0:01:59.050 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:54:03 -0500 (0:00:00.104) 0:01:59.155 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:54:03 -0500 (0:00:00.033) 0:01:59.188 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:54:03 -0500 (0:00:00.031) 0:01:59.220 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:54:03 -0500 (0:00:00.063) 0:01:59.283 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:54:03 -0500 (0:00:00.619) 0:01:59.903 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:54:03 -0500 (0:00:00.078) 0:01:59.981 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:54:04 -0500 (0:00:00.053) 0:02:00.035 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:54:04 -0500 (0:00:00.057) 0:02:00.093 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:54:04 -0500 (0:00:00.629) 0:02:00.722 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:54:04 -0500 (0:00:00.035) 0:02:00.758 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:54:04 -0500 (0:00:00.040) 0:02:00.799 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:54:04 -0500 (0:00:00.043) 0:02:00.842 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:54:04 -0500 (0:00:00.099) 0:02:00.942 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:54:05 -0500 (0:00:00.375) 0:02:01.317 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 19:54:05 -0500 (0:00:00.061) 0:02:01.378 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:54:05 -0500 (0:00:00.070) 0:02:01.449 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:54:05 -0500 (0:00:00.066) 0:02:01.515 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:54:05 -0500 (0:00:00.059) 0:02:01.575 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:54:05 -0500 (0:00:00.038) 0:02:01.613 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:54:05 -0500 (0:00:00.038) 0:02:01.652 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:54:07 -0500 (0:00:01.649) 0:02:03.302 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:54:08 -0500 (0:00:01.552) 0:02:04.855 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:54:08 -0500 (0:00:00.036) 0:02:04.891 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:54:08 -0500 (0:00:00.032) 0:02:04.924 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:54:08 -0500 (0:00:00.032) 0:02:04.956 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.050) 0:02:05.007 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.065) 0:02:05.072 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.052) 0:02:05.124 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.060) 0:02:05.184 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.090) 0:02:05.275 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.031) 0:02:05.306 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.030) 0:02:05.337 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.071) 0:02:05.409 ***** ok: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:54:09 -0500 (0:00:00.555) 0:02:05.964 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.061) 0:02:06.026 ***** skipping: [managed-node2] => { "censored": "the output 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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.030) 0:02:06.057 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.030) 0:02:06.088 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.564) 0:02:06.652 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.091) 0:02:06.743 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.037) 0:02:06.781 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.036) 0:02:06.817 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:54:10 -0500 (0:00:00.033) 0:02:06.850 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:54:11 -0500 (0:00:00.360) 0:02:07.211 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 19:54:11 -0500 (0:00:00.067) 0:02:07.278 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:54:11 -0500 (0:00:00.068) 0:02:07.346 ***** ok: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:54:11 -0500 (0:00:00.040) 0:02:07.387 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:54:11 -0500 (0:00:00.389) 0:02:07.776 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:54:11 -0500 (0:00:00.033) 0:02:07.810 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018783", "end": "2025-01-22 19:54:12.113954", "rc": 1, "start": "2025-01-22 19:54:12.095171" } 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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:54:12 -0500 (0:00:00.412) 0:02:08.223 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:54:12 -0500 (0:00:00.061) 0:02:08.284 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:54:12 -0500 (0:00:00.063) 0:02:08.348 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:54:12 -0500 (0:00:00.130) 0:02:08.479 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:54:12 -0500 (0:00:00.076) 0:02:08.556 ***** skipping: [managed-node2] => { "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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 19:54:12 -0500 (0:00:00.060) 0:02:08.616 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 22 January 2025 19:54:12 -0500 (0:00:00.058) 0:02:08.675 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.885216", "end": "2025-01-22 19:54:13.855786", "rc": 0, "start": "2025-01-22 19:54:12.970570" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 22 January 2025 19:54:13 -0500 (0:00:01.258) 0:02:09.933 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 22 January 2025 19:54:13 -0500 (0:00:00.056) 0:02:09.989 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:54:14 -0500 (0:00:00.057) 0:02:10.047 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:54:14 -0500 (0:00:00.136) 0:02:10.183 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:54:14 -0500 (0:00:00.070) 0:02:10.254 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:54:14 -0500 (0:00:00.352) 0:02:10.607 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:54:14 -0500 (0:00:00.047) 0:02:10.654 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:54:14 -0500 (0:00:00.035) 0:02:10.690 ***** included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:54:14 -0500 (0:00:00.069) 0:02:10.759 ***** fatal: [managed-node2]: 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.039473", "end": "2025-01-22 19:54:15.106010", "rc": 1, "start": "2025-01-22 19:54:15.066537" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 22 January 2025 19:54:15 -0500 (0:00:00.408) 0:02:11.168 ***** ok: [managed-node2] => { "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.009310", "end": "2025-01-22 19:54:15.464546", "rc": 0, "start": "2025-01-22 19:54:15.455236" } 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 02:fe:c7:8f:e9:81 brd ff:ff:ff:ff:ff:ff inet 10.31.45.181/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2661sec preferred_lft 2661sec inet6 fe80::fe:c7ff:fe8f:e981/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.181 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.181 metric 100 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-Qoc/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 22 January 2025 19:54:15 -0500 (0:00:00.452) 0:02:11.620 ***** ok: [managed-node2] => { "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.174217", "end": "2025-01-22 19:54:16.249954", "rc": 0, "start": "2025-01-22 19:54:16.075737" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 4357 0 --:--:-- --:--:-- --:--:-- 4357 % 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 3637 0 --:--:-- --:--:-- --:--:-- 3637 PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 TASKS RECAP ******************************************************************** Wednesday 22 January 2025 19:54:16 -0500 (0:00:00.677) 0:02:12.297 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-Qoc/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-Qoc/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-Qoc/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-Qoc/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-Qoc/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-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-Qoc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26