ansible-playbook [core 2.16.11] 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-mKF 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.4 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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 07 October 2024 08:26:07 -0400 (0:00:00.009) 0:00:00.009 ******** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 07 October 2024 08:26:08 -0400 (0:00:01.098) 0:00:01.108 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 07 October 2024 08:26:08 -0400 (0:00:00.033) 0:00:01.141 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 07 October 2024 08:26:09 -0400 (0:00:00.498) 0:00:01.640 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 07 October 2024 08:26:09 -0400 (0:00:00.437) 0:00:02.077 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 07 October 2024 08:26:09 -0400 (0:00:00.020) 0:00:02.097 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 07 October 2024 08:26:09 -0400 (0:00:00.012) 0:00:02.110 ******** included: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 07 October 2024 08:26:09 -0400 (0:00:00.037) 0:00:02.147 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 07 October 2024 08:26:09 -0400 (0:00:00.435) 0:00:02.583 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 07 October 2024 08:26:10 -0400 (0:00:00.019) 0:00:02.602 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 07 October 2024 08:26:10 -0400 (0:00:00.018) 0:00:02.621 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.234996", "end": "2024-10-07 08:26:10.551557", "rc": 0, "start": "2024-10-07 08:26:10.316561" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 07 October 2024 08:26:10 -0400 (0:00:00.585) 0:00:03.206 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 07 October 2024 08:26:10 -0400 (0:00:00.021) 0:00:03.227 ******** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 07 October 2024 08:26:10 -0400 (0:00:00.039) 0:00:03.266 ******** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 07 October 2024 08:26:11 -0400 (0:00:00.961) 0:00:04.228 ******** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 07 October 2024 08:26:11 -0400 (0:00:00.024) 0:00:04.253 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:11 -0400 (0:00:00.036) 0:00:04.289 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:11 -0400 (0:00:00.031) 0:00:04.320 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:11 -0400 (0:00:00.072) 0:00:04.393 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:11 -0400 (0:00:00.030) 0:00:04.423 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:11 -0400 (0:00:00.024) 0:00:04.448 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003155", "end": "2024-10-07 08:26:12.142231", "rc": 0, "start": "2024-10-07 08:26:12.139076" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:12 -0400 (0:00:00.339) 0:00:04.787 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:12 -0400 (0:00:00.016) 0:00:04.804 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:12 -0400 (0:00:00.018) 0:00:04.822 ******** included: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:26:12 -0400 (0:00:00.033) 0:00:04.855 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008142", "end": "2024-10-07 08:26:12.571621", "rc": 1, "start": "2024-10-07 08:26:12.563479" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:26:12 -0400 (0:00:00.378) 0:00:05.233 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:12 -0400 (0:00:00.033) 0:00:05.267 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:26:13 -0400 (0:00:00.405) 0:00:05.673 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:26:13 -0400 (0:00:00.016) 0:00:05.690 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:26:13 -0400 (0:00:00.023) 0:00:05.713 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:13 -0400 (0:00:00.037) 0:00:05.750 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:13 -0400 (0:00:00.032) 0:00:05.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:13 -0400 (0:00:00.046) 0:00:05.830 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:13 -0400 (0:00:00.024) 0:00:05.854 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:13 -0400 (0:00:00.019) 0:00:05.873 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:15 -0400 (0:00:01.881) 0:00:07.755 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:16 -0400 (0:00:01.769) 0:00:09.524 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:16 -0400 (0:00:00.073) 0:00:09.598 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:17 -0400 (0:00:00.047) 0:00:09.646 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:17 -0400 (0:00:00.046) 0:00:09.692 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:17 -0400 (0:00:00.078) 0:00:09.771 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:17 -0400 (0:00:00.093) 0:00:09.864 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:17 -0400 (0:00:00.074) 0:00:09.939 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:17 -0400 (0:00:00.092) 0:00:10.031 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:17 -0400 (0:00:00.200) 0:00:10.232 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:17 -0400 (0:00:00.042) 0:00:10.275 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:17 -0400 (0:00:00.052) 0:00:10.327 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:17 -0400 (0:00:00.094) 0:00:10.422 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:18 -0400 (0:00:00.969) 0:00:11.391 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:18 -0400 (0:00:00.057) 0:00:11.449 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:18 -0400 (0:00:00.031) 0:00:11.481 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:18 -0400 (0:00:00.035) 0:00:11.517 ******** 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, 9d8b6a92-39d7-467a-81b2-256e6d447042 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:19 -0400 (0:00:00.929) 0:00:12.446 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:19 -0400 (0:00:00.047) 0:00:12.493 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d8b6a92-39d7-467a-81b2-256e6d447042" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:19 -0400 (0:00:00.054) 0:00:12.548 ******** 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, 9d8b6a92-39d7-467a-81b2-256e6d447042\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d8b6a92-39d7-467a-81b2-256e6d447042" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:20 -0400 (0:00:00.061) 0:00:12.610 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:20 -0400 (0:00:00.048) 0:00:12.658 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:26:20 -0400 (0:00:00.577) 0:00:13.235 ******** 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, 9d8b6a92-39d7-467a-81b2-256e6d447042\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d8b6a92-39d7-467a-81b2-256e6d447042" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:20 -0400 (0:00:00.058) 0:00:13.294 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:20 -0400 (0:00:00.132) 0:00:13.427 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:20 -0400 (0:00:00.074) 0:00:13.501 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:20 -0400 (0:00:00.034) 0:00:13.536 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303979.7441638, "block_size": 4096, "blocks": 8, "ctime": 1728303979.692164, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250801, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303979.692164, "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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:21 -0400 (0:00:00.366) 0:00:13.902 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:21 -0400 (0:00:00.040) 0:00:13.943 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018931", "end": "2024-10-07 08:26:21.657403", "rc": 0, "start": "2024-10-07 08:26:21.638472" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:21 -0400 (0:00:00.438) 0:00:14.381 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:21 -0400 (0:00:00.045) 0:00:14.426 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:21 -0400 (0:00:00.038) 0:00:14.464 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:21 -0400 (0:00:00.044) 0:00:14.508 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:21 -0400 (0:00:00.050) 0:00:14.559 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:22 -0400 (0:00:00.061) 0:00:14.621 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:22 -0400 (0:00:00.056) 0:00:14.677 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:22 -0400 (0:00:00.055) 0:00:14.732 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:22 -0400 (0:00:00.039) 0:00:14.772 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:26:22 -0400 (0:00:00.111) 0:00:14.883 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:22 -0400 (0:00:00.059) 0:00:14.943 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303979.6938622, "block_size": 4096, "blocks": 0, "ctime": 1728303979.6938622, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37170, "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": 1728303979.6938622, "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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:26:22 -0400 (0:00:00.348) 0:00:15.292 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:22 -0400 (0:00:00.045) 0:00:15.338 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:22 -0400 (0:00:00.051) 0:00:15.389 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:22 -0400 (0:00:00.094) 0:00:15.484 ******** 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.064060", "end": "2024-10-07 08:26:23.252145", "rc": 1, "start": "2024-10-07 08:26:23.188085" } STDOUT: Connection 'statebr' (9d8b6a92-39d7-467a-81b2-256e6d447042) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 07 October 2024 08:26:23 -0400 (0:00:00.442) 0:00:15.926 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:23 -0400 (0:00:00.118) 0:00:16.044 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:23 -0400 (0:00:00.050) 0:00:16.095 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:23 -0400 (0:00:00.101) 0:00:16.197 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:23 -0400 (0:00:00.126) 0:00:16.323 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:23 -0400 (0:00:00.083) 0:00:16.407 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-10-07 08:26:24.125295", "rc": 0, "start": "2024-10-07 08:26:24.122063" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:24 -0400 (0:00:00.494) 0:00:16.901 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:24 -0400 (0:00:00.085) 0:00:16.986 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:24 -0400 (0:00:00.079) 0:00:17.065 ******** included: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:26:24 -0400 (0:00:00.173) 0:00:17.239 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006360", "end": "2024-10-07 08:26:25.133249", "rc": 1, "start": "2024-10-07 08:26:25.126889" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:26:25 -0400 (0:00:00.553) 0:00:17.793 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:25 -0400 (0:00:00.049) 0:00:17.842 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:26:25 -0400 (0:00:00.347) 0:00:18.190 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:26:25 -0400 (0:00:00.041) 0:00:18.231 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 07 October 2024 08:26:25 -0400 (0:00:00.055) 0:00:18.287 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:25 -0400 (0:00:00.063) 0:00:18.351 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:25 -0400 (0:00:00.057) 0:00:18.409 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:25 -0400 (0:00:00.142) 0:00:18.551 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:26 -0400 (0:00:00.059) 0:00:18.610 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:26 -0400 (0:00:00.043) 0:00:18.654 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:27 -0400 (0:00:01.651) 0:00:20.306 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:29 -0400 (0:00:01.492) 0:00:21.798 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:29 -0400 (0:00:00.054) 0:00:21.852 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:29 -0400 (0:00:00.056) 0:00:21.909 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:29 -0400 (0:00:00.036) 0:00:21.946 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:29 -0400 (0:00:00.054) 0:00:22.000 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:29 -0400 (0:00:00.061) 0:00:22.061 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:29 -0400 (0:00:00.047) 0:00:22.109 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:29 -0400 (0:00:00.054) 0:00:22.164 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:29 -0400 (0:00:00.120) 0:00:22.284 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:29 -0400 (0:00:00.098) 0:00:22.383 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:29 -0400 (0:00:00.045) 0:00:22.429 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:29 -0400 (0:00:00.066) 0:00:22.496 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:30 -0400 (0:00:00.562) 0:00:23.058 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:30 -0400 (0:00:00.080) 0:00:23.139 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:30 -0400 (0:00:00.037) 0:00:23.176 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:30 -0400 (0:00:00.047) 0:00:23.224 ******** 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, 7d00832e-1e8b-4937-98ea-09784d2a6801 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:31 -0400 (0:00:00.811) 0:00:24.035 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:31 -0400 (0:00:00.091) 0:00:24.127 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d00832e-1e8b-4937-98ea-09784d2a6801" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:31 -0400 (0:00:00.076) 0:00:24.204 ******** 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, 7d00832e-1e8b-4937-98ea-09784d2a6801\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d00832e-1e8b-4937-98ea-09784d2a6801" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:31 -0400 (0:00:00.053) 0:00:24.258 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:31 -0400 (0:00:00.089) 0:00:24.347 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 07 October 2024 08:26:32 -0400 (0:00:00.520) 0:00:24.867 ******** 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, 7d00832e-1e8b-4937-98ea-09784d2a6801\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d00832e-1e8b-4937-98ea-09784d2a6801" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:32 -0400 (0:00:00.043) 0:00:24.911 ******** included: /tmp/collections-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:26:32 -0400 (0:00:00.064) 0:00:24.976 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:32 -0400 (0:00:00.113) 0:00:25.089 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:26:32 -0400 (0:00:00.374) 0:00:25.463 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:32 -0400 (0:00:00.055) 0:00:25.519 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:33 -0400 (0:00:00.092) 0:00:25.612 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:33 -0400 (0:00:00.040) 0:00:25.653 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303991.324132, "block_size": 4096, "blocks": 8, "ctime": 1728303991.324132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303991.324132, "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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:33 -0400 (0:00:00.361) 0:00:26.014 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:33 -0400 (0:00:00.032) 0:00:26.047 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018454", "end": "2024-10-07 08:26:33.751593", "rc": 0, "start": "2024-10-07 08:26:33.733139" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:33 -0400 (0:00:00.433) 0:00:26.480 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:33 -0400 (0:00:00.063) 0:00:26.544 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:33 -0400 (0:00:00.050) 0:00:26.594 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:34 -0400 (0:00:00.052) 0:00:26.647 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:34 -0400 (0:00:00.046) 0:00:26.693 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:34 -0400 (0:00:00.039) 0:00:26.733 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:34 -0400 (0:00:00.041) 0:00:26.774 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:34 -0400 (0:00:00.032) 0:00:26.807 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:34 -0400 (0:00:00.060) 0:00:26.868 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:34 -0400 (0:00:00.046) 0:00:26.914 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:34 -0400 (0:00:00.033) 0:00:26.948 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:34 -0400 (0:00:00.092) 0:00:27.041 ******** 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.037213", "end": "2024-10-07 08:26:34.794687", "rc": 1, "start": "2024-10-07 08:26:34.757474" } STDOUT: Connection 'statebr' (7d00832e-1e8b-4937-98ea-09784d2a6801) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 07 October 2024 08:26:34 -0400 (0:00:00.431) 0:00:27.473 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:34 -0400 (0:00:00.104) 0:00:27.578 ******** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:35 -0400 (0:00:00.040) 0:00:27.618 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:35 -0400 (0:00:00.071) 0:00:27.689 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:35 -0400 (0:00:00.054) 0:00:27.744 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:35 -0400 (0:00:00.046) 0:00:27.791 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003240", "end": "2024-10-07 08:26:35.475711", "rc": 0, "start": "2024-10-07 08:26:35.472471" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:35 -0400 (0:00:00.365) 0:00:28.156 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:35 -0400 (0:00:00.053) 0:00:28.210 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:35 -0400 (0:00:00.092) 0:00:28.302 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:26:35 -0400 (0:00:00.089) 0:00:28.391 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:35 -0400 (0:00:00.107) 0:00:28.499 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:35 -0400 (0:00:00.098) 0:00:28.597 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:36 -0400 (0:00:00.097) 0:00:28.695 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:36 -0400 (0:00:00.055) 0:00:28.751 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:36 -0400 (0:00:00.059) 0:00:28.810 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:37 -0400 (0:00:01.695) 0:00:30.506 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:39 -0400 (0:00:01.566) 0:00:32.073 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:39 -0400 (0:00:00.032) 0:00:32.106 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:39 -0400 (0:00:00.059) 0:00:32.165 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:39 -0400 (0:00:00.028) 0:00:32.193 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:39 -0400 (0:00:00.049) 0:00:32.243 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:39 -0400 (0:00:00.056) 0:00:32.300 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:39 -0400 (0:00:00.048) 0:00:32.349 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:39 -0400 (0:00:00.085) 0:00:32.435 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:39 -0400 (0:00:00.098) 0:00:32.534 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:39 -0400 (0:00:00.035) 0:00:32.569 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:40 -0400 (0:00:00.031) 0:00:32.601 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:40 -0400 (0:00:00.055) 0:00:32.657 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:40 -0400 (0:00:00.573) 0:00:33.230 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:40 -0400 (0:00:00.072) 0:00:33.303 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:40 -0400 (0:00:00.047) 0:00:33.351 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:40 -0400 (0:00:00.046) 0:00:33.397 ******** 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, e957e828-3356-4005-add6-bdd9c120cfb5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:41 -0400 (0:00:00.740) 0:00:34.137 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:41 -0400 (0:00:00.048) 0:00:34.185 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e957e828-3356-4005-add6-bdd9c120cfb5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:41 -0400 (0:00:00.054) 0:00:34.239 ******** 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, e957e828-3356-4005-add6-bdd9c120cfb5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e957e828-3356-4005-add6-bdd9c120cfb5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:41 -0400 (0:00:00.099) 0:00:34.339 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:41 -0400 (0:00:00.043) 0:00:34.383 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:26:42 -0400 (0:00:00.385) 0:00:34.768 ******** 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, e957e828-3356-4005-add6-bdd9c120cfb5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e957e828-3356-4005-add6-bdd9c120cfb5" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:26:42 -0400 (0:00:00.056) 0:00:34.824 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:26:42 -0400 (0:00:00.092) 0:00:34.917 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:42 -0400 (0:00:00.120) 0:00:35.037 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:42 -0400 (0:00:00.116) 0:00:35.154 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:42 -0400 (0:00:00.087) 0:00:35.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:42 -0400 (0:00:00.061) 0:00:35.303 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:42 -0400 (0:00:00.060) 0:00:35.364 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:44 -0400 (0:00:01.713) 0:00:37.077 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:46 -0400 (0:00:01.759) 0:00:38.836 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:46 -0400 (0:00:00.062) 0:00:38.898 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:46 -0400 (0:00:00.058) 0:00:38.957 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:46 -0400 (0:00:00.054) 0:00:39.011 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:46 -0400 (0:00:00.084) 0:00:39.096 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:46 -0400 (0:00:00.076) 0:00:39.172 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:46 -0400 (0:00:00.055) 0:00:39.228 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:46 -0400 (0:00:00.055) 0:00:39.283 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:46 -0400 (0:00:00.105) 0:00:39.388 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:46 -0400 (0:00:00.047) 0:00:39.435 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:46 -0400 (0:00:00.047) 0:00:39.483 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:46 -0400 (0:00:00.094) 0:00:39.578 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:47 -0400 (0:00:00.595) 0:00:40.173 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:47 -0400 (0:00:00.067) 0:00:40.240 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:47 -0400 (0:00:00.029) 0:00:40.269 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:47 -0400 (0:00:00.064) 0:00:40.334 ******** 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, e957e828-3356-4005-add6-bdd9c120cfb5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:48 -0400 (0:00:00.528) 0:00:40.862 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:48 -0400 (0:00:00.032) 0:00:40.894 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e957e828-3356-4005-add6-bdd9c120cfb5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:48 -0400 (0:00:00.033) 0:00:40.927 ******** 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, e957e828-3356-4005-add6-bdd9c120cfb5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e957e828-3356-4005-add6-bdd9c120cfb5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:48 -0400 (0:00:00.032) 0:00:40.960 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:48 -0400 (0:00:00.027) 0:00:40.988 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:48 -0400 (0:00:00.392) 0:00:41.381 ******** included: /tmp/collections-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:26:48 -0400 (0:00:00.102) 0:00:41.483 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:48 -0400 (0:00:00.059) 0:00:41.543 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728304001.3941734, "block_size": 4096, "blocks": 0, "ctime": 1728304001.3941734, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37301, "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": 1728304001.3941734, "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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:26:49 -0400 (0:00:00.348) 0:00:41.892 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:49 -0400 (0:00:00.033) 0:00:41.925 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:49 -0400 (0:00:00.051) 0:00:41.976 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:49 -0400 (0:00:00.062) 0:00:42.038 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728304001.443104, "block_size": 4096, "blocks": 8, "ctime": 1728304001.3921041, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250801, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728304001.3921041, "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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:49 -0400 (0:00:00.444) 0:00:42.483 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:49 -0400 (0:00:00.117) 0:00:42.600 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018866", "end": "2024-10-07 08:26:50.513340", "rc": 0, "start": "2024-10-07 08:26:50.494474" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:50 -0400 (0:00:00.665) 0:00:43.266 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:50 -0400 (0:00:00.101) 0:00:43.367 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:50 -0400 (0:00:00.072) 0:00:43.440 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:50 -0400 (0:00:00.052) 0:00:43.492 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:50 -0400 (0:00:00.057) 0:00:43.550 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:51 -0400 (0:00:00.050) 0:00:43.600 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:51 -0400 (0:00:00.065) 0:00:43.666 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:51 -0400 (0:00:00.056) 0:00:43.722 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:51 -0400 (0:00:00.056) 0:00:43.779 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:51 -0400 (0:00:00.056) 0:00:43.835 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:51 -0400 (0:00:00.038) 0:00:43.874 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:51 -0400 (0:00:00.071) 0:00:43.945 ******** 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.065951", "end": "2024-10-07 08:26:51.702559", "rc": 1, "start": "2024-10-07 08:26:51.636608" } STDOUT: Connection 'statebr' (e957e828-3356-4005-add6-bdd9c120cfb5) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 07 October 2024 08:26:51 -0400 (0:00:00.442) 0:00:44.387 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:51 -0400 (0:00:00.121) 0:00:44.509 ******** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:51 -0400 (0:00:00.043) 0:00:44.553 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:52 -0400 (0:00:00.079) 0:00:44.632 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:52 -0400 (0:00:00.048) 0:00:44.681 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:52 -0400 (0:00:00.049) 0:00:44.730 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003164", "end": "2024-10-07 08:26:52.452984", "rc": 0, "start": "2024-10-07 08:26:52.449820" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:52 -0400 (0:00:00.402) 0:00:45.132 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:52 -0400 (0:00:00.046) 0:00:45.179 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:52 -0400 (0:00:00.040) 0:00:45.219 ******** included: /tmp/collections-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:26:52 -0400 (0:00:00.077) 0:00:45.297 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:52 -0400 (0:00:00.119) 0:00:45.417 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:52 -0400 (0:00:00.152) 0:00:45.570 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:53 -0400 (0:00:00.121) 0:00:45.691 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:53 -0400 (0:00:00.074) 0:00:45.766 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:53 -0400 (0:00:00.055) 0:00:45.821 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:54 -0400 (0:00:01.700) 0:00:47.522 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:56 -0400 (0:00:01.478) 0:00:49.000 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:56 -0400 (0:00:00.036) 0:00:49.037 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:56 -0400 (0:00:00.029) 0:00:49.066 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:56 -0400 (0:00:00.027) 0:00:49.094 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:56 -0400 (0:00:00.049) 0:00:49.143 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:56 -0400 (0:00:00.060) 0:00:49.204 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:56 -0400 (0:00:00.071) 0:00:49.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 : Install packages] ******************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:56 -0400 (0:00:00.091) 0:00:49.367 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:56 -0400 (0:00:00.190) 0:00:49.557 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:57 -0400 (0:00:00.048) 0:00:49.606 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:57 -0400 (0:00:00.049) 0:00:49.656 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:57 -0400 (0:00:00.082) 0:00:49.738 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:57 -0400 (0:00:00.756) 0:00:50.494 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:57 -0400 (0:00:00.091) 0:00:50.586 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:58 -0400 (0:00:00.049) 0:00:50.636 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:58 -0400 (0:00:00.046) 0:00:50.683 ******** 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, 37c35940-ae3b-4bd6-9266-ac2718a833cd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:58 -0400 (0:00:00.632) 0:00:51.316 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:58 -0400 (0:00:00.030) 0:00:51.346 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37c35940-ae3b-4bd6-9266-ac2718a833cd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:58 -0400 (0:00:00.031) 0:00:51.378 ******** 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, 37c35940-ae3b-4bd6-9266-ac2718a833cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37c35940-ae3b-4bd6-9266-ac2718a833cd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:58 -0400 (0:00:00.032) 0:00:51.411 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:58 -0400 (0:00:00.032) 0:00:51.444 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:26:59 -0400 (0:00:00.446) 0:00:51.890 ******** 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, 37c35940-ae3b-4bd6-9266-ac2718a833cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37c35940-ae3b-4bd6-9266-ac2718a833cd" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:26:59 -0400 (0:00:00.049) 0:00:51.939 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:59 -0400 (0:00:00.162) 0:00:52.102 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:59 -0400 (0:00:00.070) 0:00:52.173 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:59 -0400 (0:00:00.062) 0:00:52.235 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:59 -0400 (0:00:00.036) 0:00:52.272 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:59 -0400 (0:00:00.032) 0:00:52.305 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:01 -0400 (0:00:01.668) 0:00:53.973 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:02 -0400 (0:00:01.480) 0:00:55.454 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:02 -0400 (0:00:00.034) 0:00:55.488 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:02 -0400 (0:00:00.031) 0:00:55.520 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:02 -0400 (0:00:00.031) 0:00:55.552 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:03 -0400 (0:00:00.050) 0:00:55.602 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:03 -0400 (0:00:00.070) 0:00:55.672 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:03 -0400 (0:00:00.135) 0:00:55.808 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:03 -0400 (0:00:00.067) 0:00:55.875 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:03 -0400 (0:00:00.107) 0:00:55.983 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:03 -0400 (0:00:00.030) 0:00:56.014 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:03 -0400 (0:00:00.029) 0:00:56.043 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:03 -0400 (0:00:00.061) 0:00:56.104 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:04 -0400 (0:00:00.560) 0:00:56.664 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:04 -0400 (0:00:00.058) 0:00:56.723 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:04 -0400 (0:00:00.041) 0:00:56.764 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:04 -0400 (0:00:00.030) 0:00:56.794 ******** 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, 37c35940-ae3b-4bd6-9266-ac2718a833cd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:04 -0400 (0:00:00.529) 0:00:57.324 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:04 -0400 (0:00:00.050) 0:00:57.374 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 37c35940-ae3b-4bd6-9266-ac2718a833cd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:04 -0400 (0:00:00.056) 0:00:57.431 ******** 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, 37c35940-ae3b-4bd6-9266-ac2718a833cd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 37c35940-ae3b-4bd6-9266-ac2718a833cd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:04 -0400 (0:00:00.055) 0:00:57.486 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:04 -0400 (0:00:00.053) 0:00:57.540 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:27:05 -0400 (0:00:00.426) 0:00:57.966 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:27:05 -0400 (0:00:00.154) 0:00:58.120 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:05 -0400 (0:00:00.110) 0:00:58.231 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:05 -0400 (0:00:00.103) 0:00:58.335 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:05 -0400 (0:00:00.088) 0:00:58.424 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:05 -0400 (0:00:00.056) 0:00:58.480 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:05 -0400 (0:00:00.046) 0:00:58.527 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:07 -0400 (0:00:01.711) 0:01:00.238 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:09 -0400 (0:00:01.646) 0:01:01.885 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:09 -0400 (0:00:00.056) 0:01:01.941 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:09 -0400 (0:00:00.058) 0:01:01.999 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:09 -0400 (0:00:00.071) 0:01:02.071 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:09 -0400 (0:00:00.050) 0:01:02.121 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:09 -0400 (0:00:00.059) 0:01:02.181 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:09 -0400 (0:00:00.047) 0:01:02.228 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:09 -0400 (0:00:00.054) 0:01:02.283 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:09 -0400 (0:00:00.082) 0:01:02.365 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:09 -0400 (0:00:00.033) 0:01:02.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:09 -0400 (0:00:00.028) 0:01:02.427 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:09 -0400 (0:00:00.088) 0:01:02.515 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:10 -0400 (0:00:00.610) 0:01:03.125 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:10 -0400 (0:00:00.063) 0:01:03.189 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:10 -0400 (0:00:00.045) 0:01:03.234 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:10 -0400 (0:00:00.047) 0:01:03.281 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:11 -0400 (0:00:00.593) 0:01:03.874 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:11 -0400 (0:00:00.028) 0:01:03.903 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:11 -0400 (0:00:00.036) 0:01:03.940 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:11 -0400 (0:00:00.045) 0:01:03.985 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:11 -0400 (0:00:00.110) 0:01:04.096 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:27:11 -0400 (0:00:00.443) 0:01:04.540 ******** included: /tmp/collections-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:27:12 -0400 (0:00:00.164) 0:01:04.705 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:27:12 -0400 (0:00:00.158) 0:01:04.863 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728304018.599441, "block_size": 4096, "blocks": 0, "ctime": 1728304018.599441, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37432, "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": 1728304018.599441, "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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:27:12 -0400 (0:00:00.676) 0:01:05.540 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:27:13 -0400 (0:00:00.088) 0:01:05.629 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:27:13 -0400 (0:00:00.098) 0:01:05.727 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:27:13 -0400 (0:00:00.051) 0:01:05.779 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:27:13 -0400 (0:00:00.444) 0:01:06.223 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:27:13 -0400 (0:00:00.061) 0:01:06.285 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018839", "end": "2024-10-07 08:27:14.080798", "rc": 1, "start": "2024-10-07 08:27:14.061959" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:27:14 -0400 (0:00:00.457) 0:01:06.742 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:27:14 -0400 (0:00:00.030) 0:01:06.772 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:27:14 -0400 (0:00:00.065) 0:01:06.838 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:27:14 -0400 (0:00:00.046) 0:01:06.884 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:27:14 -0400 (0:00:00.050) 0:01:06.934 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:27:14 -0400 (0:00:00.083) 0:01:07.017 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:27:14 -0400 (0:00:00.081) 0:01:07.099 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:27:14 -0400 (0:00:00.055) 0:01:07.155 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:27:14 -0400 (0:00:00.045) 0:01:07.200 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:27:14 -0400 (0:00:00.074) 0:01:07.274 ******** 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.073839", "end": "2024-10-07 08:27:15.036896", "rc": 1, "start": "2024-10-07 08:27:14.963057" } STDOUT: Connection 'statebr' (37c35940-ae3b-4bd6-9266-ac2718a833cd) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 07 October 2024 08:27:15 -0400 (0:00:00.449) 0:01:07.724 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:27:15 -0400 (0:00:00.088) 0:01:07.812 ******** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:27:15 -0400 (0:00:00.056) 0:01:07.869 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:27:15 -0400 (0:00:00.073) 0:01:07.942 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:27:15 -0400 (0:00:00.058) 0:01:08.000 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:27:15 -0400 (0:00:00.115) 0:01:08.116 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002952", "end": "2024-10-07 08:27:15.897672", "rc": 0, "start": "2024-10-07 08:27:15.894720" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:27:16 -0400 (0:00:00.502) 0:01:08.619 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:27:16 -0400 (0:00:00.074) 0:01:08.693 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:27:16 -0400 (0:00:00.069) 0:01:08.763 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:27:16 -0400 (0:00:00.109) 0:01:08.872 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:16 -0400 (0:00:00.111) 0:01:08.984 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:16 -0400 (0:00:00.104) 0:01:09.089 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:16 -0400 (0:00:00.067) 0:01:09.156 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:16 -0400 (0:00:00.051) 0:01:09.208 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:16 -0400 (0:00:00.057) 0:01:09.265 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:18 -0400 (0:00:01.779) 0:01:11.045 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:20 -0400 (0:00:01.639) 0:01:12.684 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:20 -0400 (0:00:00.039) 0:01:12.723 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:20 -0400 (0:00:00.043) 0:01:12.767 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:20 -0400 (0:00:00.032) 0:01:12.799 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:20 -0400 (0:00:00.047) 0:01:12.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:20 -0400 (0:00:00.059) 0:01:12.907 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:20 -0400 (0:00:00.058) 0:01:12.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:20 -0400 (0:00:00.088) 0:01:13.054 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:20 -0400 (0:00:00.129) 0:01:13.183 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:20 -0400 (0:00:00.049) 0:01:13.232 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:20 -0400 (0:00:00.047) 0:01:13.279 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:20 -0400 (0:00:00.100) 0:01:13.380 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:21 -0400 (0:00:00.859) 0:01:14.239 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:21 -0400 (0:00:00.057) 0:01:14.297 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:21 -0400 (0:00:00.029) 0:01:14.326 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:21 -0400 (0:00:00.064) 0:01:14.390 ******** 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, eb51121b-842b-4bbb-90f6-d4d33a0958a0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:22 -0400 (0:00:00.551) 0:01:14.941 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:22 -0400 (0:00:00.031) 0:01:14.972 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb51121b-842b-4bbb-90f6-d4d33a0958a0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:22 -0400 (0:00:00.033) 0:01:15.005 ******** 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, eb51121b-842b-4bbb-90f6-d4d33a0958a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb51121b-842b-4bbb-90f6-d4d33a0958a0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:22 -0400 (0:00:00.032) 0:01:15.038 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:22 -0400 (0:00:00.028) 0:01:15.067 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:27:22 -0400 (0:00:00.355) 0:01:15.422 ******** 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, eb51121b-842b-4bbb-90f6-d4d33a0958a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb51121b-842b-4bbb-90f6-d4d33a0958a0" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:27:22 -0400 (0:00:00.034) 0:01:15.456 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:22 -0400 (0:00:00.073) 0:01:15.529 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:23 -0400 (0:00:00.095) 0:01:15.624 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:23 -0400 (0:00:00.078) 0:01:15.702 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:23 -0400 (0:00:00.038) 0:01:15.741 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:23 -0400 (0:00:00.046) 0:01:15.787 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:24 -0400 (0:00:01.677) 0:01:17.464 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:26 -0400 (0:00:01.521) 0:01:18.986 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:26 -0400 (0:00:00.033) 0:01:19.020 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:26 -0400 (0:00:00.029) 0:01:19.049 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:26 -0400 (0:00:00.031) 0:01:19.081 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:26 -0400 (0:00:00.071) 0:01:19.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:26 -0400 (0:00:00.093) 0:01:19.246 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:26 -0400 (0:00:00.097) 0:01:19.344 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:26 -0400 (0:00:00.095) 0:01:19.439 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:26 -0400 (0:00:00.138) 0:01:19.578 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:27 -0400 (0:00:00.052) 0:01:19.630 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:27 -0400 (0:00:00.052) 0:01:19.682 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:27 -0400 (0:00:00.089) 0:01:19.772 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:27 -0400 (0:00:00.715) 0:01:20.487 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:28 -0400 (0:00:00.233) 0:01:20.721 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:28 -0400 (0:00:00.055) 0:01:20.777 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:28 -0400 (0:00:00.056) 0:01:20.834 ******** 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, eb51121b-842b-4bbb-90f6-d4d33a0958a0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:28 -0400 (0:00:00.620) 0:01:21.454 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:28 -0400 (0:00:00.033) 0:01:21.488 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb51121b-842b-4bbb-90f6-d4d33a0958a0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:28 -0400 (0:00:00.032) 0:01:21.521 ******** 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, eb51121b-842b-4bbb-90f6-d4d33a0958a0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb51121b-842b-4bbb-90f6-d4d33a0958a0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:28 -0400 (0:00:00.033) 0:01:21.554 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:28 -0400 (0:00:00.029) 0:01:21.583 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:27:29 -0400 (0:00:00.419) 0:01:22.003 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:29 -0400 (0:00:00.107) 0:01:22.110 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:29 -0400 (0:00:00.086) 0:01:22.197 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:29 -0400 (0:00:00.086) 0:01:22.284 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:29 -0400 (0:00:00.039) 0:01:22.323 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:29 -0400 (0:00:00.071) 0:01:22.395 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:31 -0400 (0:00:01.618) 0:01:24.013 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:32 -0400 (0:00:01.575) 0:01:25.589 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:33 -0400 (0:00:00.065) 0:01:25.654 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:33 -0400 (0:00:00.055) 0:01:25.710 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:33 -0400 (0:00:00.049) 0:01:25.760 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:33 -0400 (0:00:00.087) 0:01:25.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:33 -0400 (0:00:00.080) 0:01:25.927 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:33 -0400 (0:00:00.059) 0:01:25.986 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:33 -0400 (0:00:00.065) 0:01:26.052 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:33 -0400 (0:00:00.082) 0:01:26.135 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:33 -0400 (0:00:00.041) 0:01:26.176 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:33 -0400 (0:00:00.029) 0:01:26.205 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:33 -0400 (0:00:00.059) 0:01:26.264 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:34 -0400 (0:00:00.677) 0:01:26.942 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:34 -0400 (0:00:00.059) 0:01:27.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:34 -0400 (0:00:00.028) 0:01:27.030 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:34 -0400 (0:00:00.028) 0:01:27.059 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:35 -0400 (0:00:00.547) 0:01:27.607 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:35 -0400 (0:00:00.048) 0:01:27.655 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:35 -0400 (0:00:00.052) 0:01:27.708 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:35 -0400 (0:00:00.042) 0:01:27.751 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:35 -0400 (0:00:00.030) 0:01:27.782 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:27:35 -0400 (0:00:00.399) 0:01:28.182 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:27:35 -0400 (0:00:00.103) 0:01:28.286 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:35 -0400 (0:00:00.109) 0:01:28.396 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:35 -0400 (0:00:00.147) 0:01:28.543 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:36 -0400 (0:00:00.094) 0:01:28.637 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:36 -0400 (0:00:00.058) 0:01:28.696 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:36 -0400 (0:00:00.057) 0:01:28.753 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:37 -0400 (0:00:01.641) 0:01:30.394 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:39 -0400 (0:00:01.484) 0:01:31.879 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:39 -0400 (0:00:00.053) 0:01:31.932 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:39 -0400 (0:00:00.048) 0:01:31.981 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:39 -0400 (0:00:00.052) 0:01:32.033 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:39 -0400 (0:00:00.077) 0:01:32.111 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:39 -0400 (0:00:00.096) 0:01:32.208 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:39 -0400 (0:00:00.126) 0:01:32.334 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:39 -0400 (0:00:00.158) 0:01:32.493 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:40 -0400 (0:00:00.204) 0:01:32.697 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:40 -0400 (0:00:00.054) 0:01:32.752 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:40 -0400 (0:00:00.051) 0:01:32.803 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:40 -0400 (0:00:00.114) 0:01:32.918 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:40 -0400 (0:00:00.626) 0:01:33.545 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:41 -0400 (0:00:00.061) 0:01:33.606 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:41 -0400 (0:00:00.030) 0:01:33.636 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:41 -0400 (0:00:00.028) 0:01:33.664 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:41 -0400 (0:00:00.568) 0:01:34.233 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:41 -0400 (0:00:00.043) 0:01:34.276 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:41 -0400 (0:00:00.053) 0:01:34.330 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:41 -0400 (0:00:00.059) 0:01:34.390 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:41 -0400 (0:00:00.052) 0:01:34.443 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:27:42 -0400 (0:00:00.359) 0:01:34.802 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:27:42 -0400 (0:00:00.088) 0:01:34.890 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:27:42 -0400 (0:00:00.140) 0:01:35.030 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:27:42 -0400 (0:00:00.052) 0:01:35.083 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:27:42 -0400 (0:00:00.372) 0:01:35.456 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:27:42 -0400 (0:00:00.031) 0:01:35.488 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018513", "end": "2024-10-07 08:27:43.210305", "rc": 1, "start": "2024-10-07 08:27:43.191792" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:27:43 -0400 (0:00:00.402) 0:01:35.891 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:27:43 -0400 (0:00:00.052) 0:01:35.943 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:27:43 -0400 (0:00:00.050) 0:01:35.994 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:27:43 -0400 (0:00:00.049) 0:01:36.043 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:27:43 -0400 (0:00:00.047) 0:01:36.090 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:27:43 -0400 (0:00:00.049) 0:01:36.139 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:27:43 -0400 (0:00:00.052) 0:01:36.192 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:27:43 -0400 (0:00:00.089) 0:01:36.282 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:27:43 -0400 (0:00:00.059) 0:01:36.341 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:27:44 -0400 (0:00:00.397) 0:01:36.738 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:27:44 -0400 (0:00:00.106) 0:01:36.845 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:27:44 -0400 (0:00:00.059) 0:01:36.904 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:27:44 -0400 (0:00:00.084) 0:01:36.988 ******** 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.037121", "end": "2024-10-07 08:27:44.710943", "rc": 1, "start": "2024-10-07 08:27:44.673822" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 07 October 2024 08:27:44 -0400 (0:00:00.383) 0:01:37.372 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:27:44 -0400 (0:00:00.057) 0:01:37.429 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:27:44 -0400 (0:00:00.037) 0:01:37.467 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:27:44 -0400 (0:00:00.122) 0:01:37.589 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:27:45 -0400 (0:00:00.051) 0:01:37.641 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:27:45 -0400 (0:00:00.053) 0:01:37.694 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003149", "end": "2024-10-07 08:27:45.388465", "rc": 0, "start": "2024-10-07 08:27:45.385316" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:27:45 -0400 (0:00:00.356) 0:01:38.051 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:27:45 -0400 (0:00:00.036) 0:01:38.087 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:27:45 -0400 (0:00:00.050) 0:01:38.138 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:27:45 -0400 (0:00:00.157) 0:01:38.295 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:45 -0400 (0:00:00.114) 0:01:38.410 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:45 -0400 (0:00:00.076) 0:01:38.486 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:45 -0400 (0:00:00.088) 0:01:38.574 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:46 -0400 (0:00:00.058) 0:01:38.633 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:46 -0400 (0:00:00.060) 0:01:38.693 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:47 -0400 (0:00:01.716) 0:01:40.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 : Print network provider] ************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:49 -0400 (0:00:01.481) 0:01:41.891 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:49 -0400 (0:00:00.039) 0:01:41.931 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:49 -0400 (0:00:00.073) 0:01:42.005 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:49 -0400 (0:00:00.152) 0:01:42.157 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:49 -0400 (0:00:00.126) 0:01:42.283 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:49 -0400 (0:00:00.135) 0:01:42.418 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:49 -0400 (0:00:00.084) 0:01:42.503 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:49 -0400 (0:00:00.088) 0:01:42.591 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:50 -0400 (0:00:00.100) 0:01:42.691 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:50 -0400 (0:00:00.031) 0:01:42.723 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:50 -0400 (0:00:00.040) 0:01:42.763 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:50 -0400 (0:00:00.059) 0:01:42.823 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:50 -0400 (0:00:00.679) 0:01:43.503 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:50 -0400 (0:00:00.065) 0:01:43.568 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:51 -0400 (0:00:00.035) 0:01:43.604 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:51 -0400 (0:00:00.033) 0:01:43.637 ******** 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, ec55629a-a078-4237-b447-ad1a6a99cc1d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:51 -0400 (0:00:00.647) 0:01:44.285 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:51 -0400 (0:00:00.049) 0:01:44.334 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec55629a-a078-4237-b447-ad1a6a99cc1d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:51 -0400 (0:00:00.054) 0:01:44.389 ******** 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, ec55629a-a078-4237-b447-ad1a6a99cc1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec55629a-a078-4237-b447-ad1a6a99cc1d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:51 -0400 (0:00:00.051) 0:01:44.440 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:51 -0400 (0:00:00.100) 0:01:44.541 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:27:52 -0400 (0:00:00.393) 0:01:44.934 ******** 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, ec55629a-a078-4237-b447-ad1a6a99cc1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec55629a-a078-4237-b447-ad1a6a99cc1d" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:27:52 -0400 (0:00:00.034) 0:01:44.969 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:52 -0400 (0:00:00.066) 0:01:45.035 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:52 -0400 (0:00:00.058) 0:01:45.094 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:52 -0400 (0:00:00.055) 0:01:45.150 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:52 -0400 (0:00:00.033) 0:01:45.183 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:52 -0400 (0:00:00.033) 0:01:45.216 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:54 -0400 (0:00:01.636) 0:01:46.853 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:55 -0400 (0:00:01.566) 0:01:48.420 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:55 -0400 (0:00:00.070) 0:01:48.491 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:55 -0400 (0:00:00.030) 0:01:48.521 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:55 -0400 (0:00:00.030) 0:01:48.552 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:56 -0400 (0:00:00.083) 0:01:48.636 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:56 -0400 (0:00:00.104) 0:01:48.740 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:56 -0400 (0:00:00.060) 0:01:48.801 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:56 -0400 (0:00:00.094) 0:01:48.895 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:56 -0400 (0:00:00.139) 0:01:49.035 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:56 -0400 (0:00:00.059) 0:01:49.095 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:56 -0400 (0:00:00.050) 0:01:49.145 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:56 -0400 (0:00:00.089) 0:01:49.235 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:57 -0400 (0:00:00.680) 0:01:49.916 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:57 -0400 (0:00:00.067) 0:01:49.983 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:57 -0400 (0:00:00.041) 0:01:50.024 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:57 -0400 (0:00:00.031) 0:01:50.055 ******** 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, ec55629a-a078-4237-b447-ad1a6a99cc1d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:57 -0400 (0:00:00.539) 0:01:50.594 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:58 -0400 (0:00:00.035) 0:01:50.630 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec55629a-a078-4237-b447-ad1a6a99cc1d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:58 -0400 (0:00:00.097) 0:01:50.728 ******** 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, ec55629a-a078-4237-b447-ad1a6a99cc1d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec55629a-a078-4237-b447-ad1a6a99cc1d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:58 -0400 (0:00:00.043) 0:01:50.772 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:58 -0400 (0:00:00.033) 0:01:50.805 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:27:58 -0400 (0:00:00.388) 0:01:51.194 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:58 -0400 (0:00:00.130) 0:01:51.324 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:58 -0400 (0:00:00.092) 0:01:51.417 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:58 -0400 (0:00:00.088) 0:01:51.506 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:58 -0400 (0:00:00.062) 0:01:51.568 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:59 -0400 (0:00:00.045) 0:01:51.614 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:00 -0400 (0:00:01.630) 0:01:53.245 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:02 -0400 (0:00:01.553) 0:01:54.799 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:02 -0400 (0:00:00.060) 0:01:54.859 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:02 -0400 (0:00:00.058) 0:01:54.917 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:02 -0400 (0:00:00.061) 0:01:54.979 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:02 -0400 (0:00:00.080) 0:01:55.060 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:02 -0400 (0:00:00.102) 0:01:55.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:02 -0400 (0:00:00.086) 0:01:55.249 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:02 -0400 (0:00:00.077) 0:01:55.326 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:02 -0400 (0:00:00.090) 0:01:55.417 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:02 -0400 (0:00:00.031) 0:01:55.449 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:02 -0400 (0:00:00.031) 0:01:55.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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:02 -0400 (0:00:00.059) 0:01:55.539 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:03 -0400 (0:00:00.556) 0:01:56.095 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:03 -0400 (0:00:00.058) 0:01:56.153 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:03 -0400 (0:00:00.028) 0:01:56.182 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:03 -0400 (0:00:00.028) 0:01:56.211 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:04 -0400 (0:00:00.653) 0:01:56.865 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:04 -0400 (0:00:00.030) 0:01:56.895 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:04 -0400 (0:00:00.033) 0:01:56.929 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:04 -0400 (0:00:00.033) 0:01:56.963 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:04 -0400 (0:00:00.028) 0:01:56.992 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:28:04 -0400 (0:00:00.365) 0:01:57.357 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:28:04 -0400 (0:00:00.054) 0:01:57.412 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:04 -0400 (0:00:00.065) 0:01:57.477 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:04 -0400 (0:00:00.058) 0:01:57.536 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:04 -0400 (0:00:00.054) 0:01:57.591 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:05 -0400 (0:00:00.032) 0:01:57.624 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:05 -0400 (0:00:00.033) 0:01:57.657 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:06 -0400 (0:00:01.669) 0:01:59.327 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:08 -0400 (0:00:01.492) 0:02:00.820 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:08 -0400 (0:00:00.045) 0:02:00.865 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:08 -0400 (0:00:00.044) 0:02:00.910 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:08 -0400 (0:00:00.034) 0:02:00.944 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:08 -0400 (0:00:00.052) 0:02:00.997 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:08 -0400 (0:00:00.058) 0:02:01.055 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:08 -0400 (0:00:00.048) 0:02:01.104 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:08 -0400 (0:00:00.099) 0:02:01.203 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:08 -0400 (0:00:00.129) 0:02:01.333 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:08 -0400 (0:00:00.048) 0:02:01.381 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:08 -0400 (0:00:00.049) 0:02:01.431 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:08 -0400 (0:00:00.090) 0:02:01.522 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:09 -0400 (0:00:00.577) 0:02:02.099 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:09 -0400 (0:00:00.158) 0:02:02.257 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:09 -0400 (0:00:00.030) 0:02:02.288 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:09 -0400 (0:00:00.029) 0:02:02.318 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:10 -0400 (0:00:00.517) 0:02:02.835 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:10 -0400 (0:00:00.030) 0:02:02.865 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:10 -0400 (0:00:00.033) 0:02:02.899 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:10 -0400 (0:00:00.034) 0:02:02.933 ******** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:10 -0400 (0:00:00.028) 0:02:02.962 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:28:10 -0400 (0:00:00.377) 0:02:03.339 ******** included: /tmp/collections-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:28:10 -0400 (0:00:00.095) 0:02:03.435 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:28:10 -0400 (0:00:00.090) 0:02:03.526 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:28:10 -0400 (0:00:00.051) 0:02:03.577 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:28:11 -0400 (0:00:00.365) 0:02:03.943 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:28:11 -0400 (0:00:00.069) 0:02:04.012 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017330", "end": "2024-10-07 08:28:11.710912", "rc": 1, "start": "2024-10-07 08:28:11.693582" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:28:11 -0400 (0:00:00.358) 0:02:04.370 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:28:11 -0400 (0:00:00.032) 0:02:04.403 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:28:11 -0400 (0:00:00.030) 0:02:04.434 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:28:11 -0400 (0:00:00.029) 0:02:04.463 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:28:11 -0400 (0:00:00.031) 0:02:04.494 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:28:11 -0400 (0:00:00.030) 0:02:04.525 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 07 October 2024 08:28:11 -0400 (0:00:00.032) 0:02:04.557 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.887443", "end": "2024-10-07 08:28:13.127844", "rc": 0, "start": "2024-10-07 08:28:12.240401" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 07 October 2024 08:28:13 -0400 (0:00:01.252) 0:02:05.810 ******** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 07 October 2024 08:28:13 -0400 (0:00:00.053) 0:02:05.864 ******** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:28:13 -0400 (0:00:00.046) 0:02:05.910 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:28:13 -0400 (0:00:00.115) 0:02:06.026 ******** included: /tmp/collections-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:28:13 -0400 (0:00:00.084) 0:02:06.110 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:28:13 -0400 (0:00:00.372) 0:02:06.483 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:28:13 -0400 (0:00:00.033) 0:02:06.517 ******** 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:28:13 -0400 (0:00:00.072) 0:02:06.589 ******** included: /tmp/collections-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:28:14 -0400 (0:00:00.089) 0:02:06.679 ******** 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.037933", "end": "2024-10-07 08:28:14.406903", "rc": 1, "start": "2024-10-07 08:28:14.368970" } 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 07 October 2024 08:28:14 -0400 (0:00:00.407) 0:02:07.086 ******** 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.008735", "end": "2024-10-07 08:28:14.799048", "rc": 0, "start": "2024-10-07 08:28:14.790313" } 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:04:39:83:40:8b brd ff:ff:ff:ff:ff:ff inet 10.31.45.14/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2693sec preferred_lft 2693sec inet6 fe80::4:39ff:fe83:408b/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.14 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.14 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-mKF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 07 October 2024 08:28:14 -0400 (0:00:00.376) 0:02:07.463 ******** 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.327008", "end": "2024-10-07 08:28:15.474933", "rc": 0, "start": "2024-10-07 08:28:15.147925" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 3388 0 --:--:-- --:--:-- --:--:-- 3388 % 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 1366 0 --:--:-- --:--:-- --:--:-- 1366 PLAY RECAP ********************************************************************* managed-node2 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Monday 07 October 2024 08:28:15 -0400 (0:00:00.773) 0:02:08.236 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-mKF/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-mKF/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-mKF/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-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-mKF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26