ansible-playbook [core 2.17.5] 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-qv0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 26 October 2024 08:48:03 -0400 (0:00:00.010) 0:00:00.010 ****** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 26 October 2024 08:48:04 -0400 (0:00:01.299) 0:00:01.310 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 26 October 2024 08:48:04 -0400 (0:00:00.106) 0:00:01.416 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.573) 0:00:01.989 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.542) 0:00:02.532 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.040) 0:00:02.572 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.031) 0:00:02.603 ****** included: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.060) 0:00:02.664 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.018) 0:00:02.683 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.014) 0:00:02.697 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.016) 0:00:02.714 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.020) 0:00:02.734 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.020) 0:00:02.755 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.042) 0:00:02.797 ****** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.769) 0:00:03.566 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.020) 0:00:03.587 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.027) 0:00:03.614 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.022) 0:00:03.637 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.080) 0:00:03.718 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.034) 0:00:03.752 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.020) 0:00:03.772 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003257", "end": "2024-10-26 08:48:07.261037", "rc": 0, "start": "2024-10-26 08:48:07.257780" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.425) 0:00:04.198 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.022) 0:00:04.220 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.018) 0:00:04.239 ****** included: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.032) 0:00:04.272 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007660", "end": "2024-10-26 08:48:07.689979", "rc": 1, "start": "2024-10-26 08:48:07.682319" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.344) 0:00:04.617 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.020) 0:00:04.638 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.342) 0:00:04.980 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.026) 0:00:05.007 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.046) 0:00:05.053 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.093) 0:00:05.147 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.056) 0:00:05.204 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.078) 0:00:05.282 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.031) 0:00:05.313 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.039) 0:00:05.353 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:11 -0400 (0:00:02.929) 0:00:08.282 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:12 -0400 (0:00:01.278) 0:00:09.561 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:12 -0400 (0:00:00.038) 0:00:09.599 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:12 -0400 (0:00:00.032) 0:00:09.631 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:12 -0400 (0:00:00.033) 0:00:09.665 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:12 -0400 (0:00:00.063) 0:00:09.728 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:12 -0400 (0:00:00.063) 0:00:09.792 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:12 -0400 (0:00:00.052) 0:00:09.845 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:13 -0400 (0:00:00.062) 0:00:09.907 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:13 -0400 (0:00:00.094) 0:00:10.001 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:13 -0400 (0:00:00.032) 0:00:10.034 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:13 -0400 (0:00:00.058) 0:00:10.093 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:13 -0400 (0:00:00.079) 0:00:10.172 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:14 -0400 (0:00:01.014) 0:00:11.187 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.100) 0:00:11.288 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.057) 0:00:11.345 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.055) 0:00:11.400 ****** 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, bdebe18f-c722-487e-b6e8-2d8a98c25b97 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.934) 0:00:12.335 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.038) 0:00:12.373 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdebe18f-c722-487e-b6e8-2d8a98c25b97" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.044) 0:00:12.418 ****** 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, bdebe18f-c722-487e-b6e8-2d8a98c25b97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdebe18f-c722-487e-b6e8-2d8a98c25b97" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.051) 0:00:12.469 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.052) 0:00:12.521 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.542) 0:00:13.064 ****** 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, bdebe18f-c722-487e-b6e8-2d8a98c25b97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdebe18f-c722-487e-b6e8-2d8a98c25b97" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.050) 0:00:13.115 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.071) 0:00:13.186 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.066) 0:00:13.253 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.091) 0:00:13.344 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.432) 0:00:13.776 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.099) 0:00:13.876 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019259", "end": "2024-10-26 08:48:17.339032", "rc": 0, "start": "2024-10-26 08:48:17.319773" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.484) 0:00:14.360 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.107) 0:00:14.468 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.107) 0:00:14.576 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.069) 0:00:14.646 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.049) 0:00:14.695 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.050) 0:00:14.746 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.069) 0:00:14.816 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.044) 0:00:14.860 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.037) 0:00:14.898 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.101) 0:00:14.999 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.055) 0:00:15.055 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729946895.3221655, "block_size": 4096, "blocks": 0, "ctime": 1729946895.3221655, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31455, "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": 1729946895.3221655, "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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.403) 0:00:15.458 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.115) 0:00:15.573 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.074) 0:00:15.647 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.170) 0:00:15.818 ****** 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.061327", "end": "2024-10-26 08:48:19.288276", "rc": 1, "start": "2024-10-26 08:48:19.226949" } STDOUT: Connection 'statebr' (bdebe18f-c722-487e-b6e8-2d8a98c25b97) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.484) 0:00:16.302 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.113) 0:00:16.416 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.069) 0:00:16.485 ****** 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" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.129) 0:00:16.615 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.083) 0:00:16.698 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.063) 0:00:16.761 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003339", "end": "2024-10-26 08:48:20.169305", "rc": 0, "start": "2024-10-26 08:48:20.165966" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.376) 0:00:17.138 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.077) 0:00:17.216 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.066) 0:00:17.283 ****** included: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.112) 0:00:17.395 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006302", "end": "2024-10-26 08:48:20.823897", "rc": 1, "start": "2024-10-26 08:48:20.817595" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.381) 0:00:17.777 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.088) 0:00:17.865 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.363) 0:00:18.229 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.056) 0:00:18.285 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.075) 0:00:18.361 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.088) 0:00:18.449 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.069) 0:00:18.518 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.061) 0:00:18.580 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.041) 0:00:18.621 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.049) 0:00:18.670 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:23 -0400 (0:00:01.639) 0:00:20.309 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.857) 0:00:21.166 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.039) 0:00:21.206 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.088) 0:00:21.295 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.051) 0:00:21.346 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.082) 0:00:21.429 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.103) 0:00:21.533 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.082) 0:00:21.615 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.101) 0:00:21.716 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.115) 0:00:21.832 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:24 -0400 (0:00:00.038) 0:00:21.870 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.035) 0:00:21.905 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.062) 0:00:21.968 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.567) 0:00:22.536 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.064) 0:00:22.601 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.032) 0:00:22.633 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.037) 0:00:22.670 ****** 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, 2e5de493-2039-4584-99ea-144d3fdac9e5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.649) 0:00:23.319 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.034) 0:00:23.354 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e5de493-2039-4584-99ea-144d3fdac9e5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.038) 0:00:23.392 ****** 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, 2e5de493-2039-4584-99ea-144d3fdac9e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e5de493-2039-4584-99ea-144d3fdac9e5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.037) 0:00:23.430 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.066) 0:00:23.497 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.464) 0:00:23.961 ****** 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, 2e5de493-2039-4584-99ea-144d3fdac9e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e5de493-2039-4584-99ea-144d3fdac9e5" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.111) 0:00:24.072 ****** included: /tmp/collections-qv0/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.183) 0:00:24.256 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.098) 0:00:24.355 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.435) 0:00:24.791 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.077) 0:00:24.869 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.121) 0:00:24.990 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.058) 0:00:25.048 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.379) 0:00:25.428 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.052) 0:00:25.480 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019377", "end": "2024-10-26 08:48:28.929500", "rc": 0, "start": "2024-10-26 08:48:28.910123" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.430) 0:00:25.911 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.061) 0:00:25.972 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.054) 0:00:26.027 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.045) 0:00:26.072 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.102) 0:00:26.174 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.067) 0:00:26.242 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.088) 0:00:26.330 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.054) 0:00:26.384 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.046) 0:00:26.431 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.071) 0:00:26.503 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.053) 0:00:26.557 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.119) 0:00:26.676 ****** 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.037621", "end": "2024-10-26 08:48:30.170430", "rc": 1, "start": "2024-10-26 08:48:30.132809" } STDOUT: Connection 'statebr' (2e5de493-2039-4584-99ea-144d3fdac9e5) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 26 October 2024 08:48:30 -0400 (0:00:00.440) 0:00:27.117 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:48:30 -0400 (0:00:00.080) 0:00:27.197 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:48:30 -0400 (0:00:00.070) 0:00:27.268 ****** 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" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:48:30 -0400 (0:00:00.143) 0:00:27.412 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:48:30 -0400 (0:00:00.093) 0:00:27.505 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:48:30 -0400 (0:00:00.092) 0:00:27.598 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003337", "end": "2024-10-26 08:48:31.038255", "rc": 0, "start": "2024-10-26 08:48:31.034918" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.421) 0:00:28.019 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.038) 0:00:28.058 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.039) 0:00:28.097 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.078) 0:00:28.176 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.083) 0:00:28.260 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.076) 0:00:28.336 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.063) 0:00:28.400 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.047) 0:00:28.447 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:31 -0400 (0:00:00.075) 0:00:28.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 : Check which packages are installed] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:33 -0400 (0:00:01.757) 0:00:30.280 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.894) 0:00:31.174 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.041) 0:00:31.216 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.097) 0:00:31.313 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.046) 0:00:31.360 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.101) 0:00:31.461 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.123) 0:00:31.585 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.104) 0:00:31.689 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.096) 0:00:31.785 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.150) 0:00:31.936 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.073) 0:00:32.010 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.106) 0:00:32.116 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.133) 0:00:32.250 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.634) 0:00:32.884 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.100) 0:00:32.985 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.057) 0:00:33.043 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.054) 0:00:33.097 ****** 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, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.631) 0:00:33.729 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.049) 0:00:33.779 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.037) 0:00:33.817 ****** 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, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.039) 0:00:33.856 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.033) 0:00:33.890 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.425) 0:00:34.316 ****** 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, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.060) 0:00:34.376 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.081) 0:00:34.457 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.097) 0:00:34.555 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.073) 0:00:34.628 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.094) 0:00:34.723 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.061) 0:00:34.784 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.062) 0:00:34.847 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:39 -0400 (0:00:01.723) 0:00:36.571 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:40 -0400 (0:00:00.871) 0:00:37.442 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:40 -0400 (0:00:00.043) 0:00:37.485 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:40 -0400 (0:00:00.107) 0:00:37.593 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:40 -0400 (0:00:00.064) 0:00:37.658 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:40 -0400 (0:00:00.119) 0:00:37.777 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:41 -0400 (0:00:00.148) 0:00:37.926 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:41 -0400 (0:00:00.109) 0:00:38.036 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:41 -0400 (0:00:00.107) 0:00:38.143 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:41 -0400 (0:00:00.113) 0:00:38.257 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:41 -0400 (0:00:00.038) 0:00:38.295 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:41 -0400 (0:00:00.041) 0:00:38.336 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:41 -0400 (0:00:00.103) 0:00:38.440 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.633) 0:00:39.073 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.148) 0:00:39.222 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.106) 0:00:39.329 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.090) 0:00:39.419 ****** 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, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.595) 0:00:40.014 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.034) 0:00:40.049 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.037) 0:00:40.086 ****** 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, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.039) 0:00:40.126 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.033) 0:00:40.159 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.391) 0:00:40.550 ****** included: /tmp/collections-qv0/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.071) 0:00:40.622 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.055) 0:00:40.677 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729946916.7260914, "block_size": 4096, "blocks": 0, "ctime": 1729946916.7260914, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31586, "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": 1729946916.7260914, "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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.368) 0:00:41.046 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.063) 0:00:41.109 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.113) 0:00:41.223 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.061) 0:00:41.285 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.404) 0:00:41.689 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.044) 0:00:41.733 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018855", "end": "2024-10-26 08:48:45.153112", "rc": 0, "start": "2024-10-26 08:48:45.134257" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.392) 0:00:42.126 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.063) 0:00:42.190 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.056) 0:00:42.246 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.067) 0:00:42.314 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.084) 0:00:42.398 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.158) 0:00:42.556 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.060) 0:00:42.617 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.070) 0:00:42.687 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.095) 0:00:42.783 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.100) 0:00:42.884 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.083) 0:00:42.967 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.156) 0:00:43.123 ****** 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.058018", "end": "2024-10-26 08:48:46.608074", "rc": 1, "start": "2024-10-26 08:48:46.550056" } STDOUT: Connection 'statebr' (7ae97596-d2a7-4aa4-9ab6-a25fbe720ffe) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.458) 0:00:43.582 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.097) 0:00:43.680 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.041) 0:00:43.721 ****** 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" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.089) 0:00:43.810 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.059) 0:00:43.870 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.065) 0:00:43.936 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003906", "end": "2024-10-26 08:48:47.357565", "rc": 0, "start": "2024-10-26 08:48:47.353659" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.368) 0:00:44.305 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.037) 0:00:44.342 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.089) 0:00:44.432 ****** included: /tmp/collections-qv0/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.104) 0:00:44.537 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.121) 0:00:44.658 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.109) 0:00:44.768 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:47 -0400 (0:00:00.096) 0:00:44.865 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:48 -0400 (0:00:00.061) 0:00:44.926 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:48 -0400 (0:00:00.086) 0:00:45.012 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:49 -0400 (0:00:01.617) 0:00:46.630 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.868) 0:00:47.499 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.061) 0:00:47.560 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.097) 0:00:47.657 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.108) 0:00:47.766 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.361) 0:00:48.127 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.129) 0:00:48.257 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.097) 0:00:48.354 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.103) 0:00:48.457 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.143) 0:00:48.601 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.039) 0:00:48.641 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.049) 0:00:48.690 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.095) 0:00:48.785 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.627) 0:00:49.413 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.098) 0:00:49.511 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.053) 0:00:49.564 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.054) 0:00:49.619 ****** 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, 7daa8e8b-495c-4189-86fd-b17a9be3b460 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:53 -0400 (0:00:00.614) 0:00:50.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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:53 -0400 (0:00:00.035) 0:00:50.268 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7daa8e8b-495c-4189-86fd-b17a9be3b460" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:53 -0400 (0:00:00.037) 0:00:50.306 ****** 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, 7daa8e8b-495c-4189-86fd-b17a9be3b460\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7daa8e8b-495c-4189-86fd-b17a9be3b460" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:53 -0400 (0:00:00.037) 0:00:50.344 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:53 -0400 (0:00:00.033) 0:00:50.378 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:48:53 -0400 (0:00:00.444) 0:00:50.822 ****** 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, 7daa8e8b-495c-4189-86fd-b17a9be3b460\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7daa8e8b-495c-4189-86fd-b17a9be3b460" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:48:54 -0400 (0:00:00.058) 0:00:50.880 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:54 -0400 (0:00:00.106) 0:00:50.987 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:54 -0400 (0:00:00.103) 0:00:51.091 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:54 -0400 (0:00:00.082) 0:00:51.173 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:54 -0400 (0:00:00.075) 0:00:51.249 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:54 -0400 (0:00:00.073) 0:00:51.322 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:56 -0400 (0:00:01.739) 0:00:53.061 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.924) 0:00:53.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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.063) 0:00:54.049 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.057) 0:00:54.107 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.055) 0:00:54.162 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.091) 0:00:54.253 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.215) 0:00:54.469 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.093) 0:00:54.562 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.089) 0:00:54.652 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.103) 0:00:54.755 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.035) 0:00:54.791 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.037) 0:00:54.828 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.091) 0:00:54.920 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.653) 0:00:55.573 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.094) 0:00:55.668 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.044) 0:00:55.713 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.038) 0:00:55.751 ****** 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, 7daa8e8b-495c-4189-86fd-b17a9be3b460 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.586) 0:00:56.338 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.114) 0:00:56.452 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7daa8e8b-495c-4189-86fd-b17a9be3b460 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.108) 0:00:56.561 ****** 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, 7daa8e8b-495c-4189-86fd-b17a9be3b460 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7daa8e8b-495c-4189-86fd-b17a9be3b460 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.067) 0:00:56.628 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.060) 0:00:56.689 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.427) 0:00:57.116 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.150) 0:00:57.267 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.130) 0:00:57.398 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.138) 0:00:57.537 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.112) 0:00:57.649 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.074) 0:00:57.724 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.068) 0:00:57.792 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:02 -0400 (0:00:01.786) 0:00:59.579 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.883) 0:01:00.462 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.052) 0:01:00.515 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.054) 0:01:00.570 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.090) 0:01:00.660 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.091) 0:01:00.752 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.106) 0:01:00.858 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:04 -0400 (0:00:00.123) 0:01:00.982 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:04 -0400 (0:00:00.115) 0:01:01.098 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:04 -0400 (0:00:00.154) 0:01:01.252 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:04 -0400 (0:00:00.054) 0:01:01.307 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:04 -0400 (0:00:00.036) 0:01:01.343 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:04 -0400 (0:00:00.065) 0:01:01.409 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:05 -0400 (0:00:00.574) 0:01:01.983 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:05 -0400 (0:00:00.106) 0:01:02.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:05 -0400 (0:00:00.058) 0:01:02.148 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:05 -0400 (0:00:00.057) 0:01:02.205 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:05 -0400 (0:00:00.623) 0:01:02.828 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.055) 0:01:02.884 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.067) 0:01:02.952 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.071) 0:01:03.024 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.066) 0:01:03.091 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.430) 0:01:03.522 ****** included: /tmp/collections-qv0/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.113) 0:01:03.636 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.151) 0:01:03.788 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729946933.2442002, "block_size": 4096, "blocks": 0, "ctime": 1729946933.2442002, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31717, "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": 1729946933.2442002, "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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.370) 0:01:04.158 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.039) 0:01:04.198 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.062) 0:01:04.260 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.037) 0:01:04.298 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.350) 0:01:04.648 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.042) 0:01:04.690 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020319", "end": "2024-10-26 08:49:08.116592", "rc": 1, "start": "2024-10-26 08:49:08.096273" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.402) 0:01:05.092 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.047) 0:01:05.140 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.063) 0:01:05.203 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.058) 0:01:05.261 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.060) 0:01:05.322 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.044) 0:01:05.367 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.049) 0:01:05.416 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.053) 0:01:05.469 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.037) 0:01:05.507 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.112) 0:01:05.619 ****** 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.068806", "end": "2024-10-26 08:49:09.126220", "rc": 1, "start": "2024-10-26 08:49:09.057414" } STDOUT: Connection 'statebr' (7daa8e8b-495c-4189-86fd-b17a9be3b460) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.477) 0:01:06.096 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.104) 0:01:06.201 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.066) 0:01:06.267 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.119) 0:01:06.387 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.103) 0:01:06.490 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.105) 0:01:06.595 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003355", "end": "2024-10-26 08:49:10.028618", "rc": 0, "start": "2024-10-26 08:49:10.025263" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.400) 0:01:06.996 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.059) 0:01:07.055 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.059) 0:01:07.115 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.105) 0:01:07.220 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.119) 0:01:07.339 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.159) 0:01:07.499 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.095) 0:01:07.594 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.062) 0:01:07.657 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.059) 0:01:07.716 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:12 -0400 (0:00:01.819) 0:01:09.536 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.992) 0:01:10.529 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.058) 0:01:10.587 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.049) 0:01:10.637 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.052) 0:01:10.689 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.081) 0:01:10.771 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.091) 0:01:10.863 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.108) 0:01:10.971 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.103) 0:01:11.075 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.123) 0:01:11.198 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.039) 0:01:11.237 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.089) 0:01:11.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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.071) 0:01:11.399 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:15 -0400 (0:00:00.590) 0:01:11.989 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:15 -0400 (0:00:00.145) 0:01:12.135 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:15 -0400 (0:00:00.077) 0:01:12.213 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:15 -0400 (0:00:00.075) 0:01:12.289 ****** 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, 132d2274-761c-4173-bee9-c759a4048d67 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.648) 0:01:12.937 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.034) 0:01:12.971 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 132d2274-761c-4173-bee9-c759a4048d67" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.039) 0:01:13.011 ****** 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, 132d2274-761c-4173-bee9-c759a4048d67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 132d2274-761c-4173-bee9-c759a4048d67" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.038) 0:01:13.050 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.051) 0:01:13.102 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.436) 0:01:13.538 ****** 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, 132d2274-761c-4173-bee9-c759a4048d67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 132d2274-761c-4173-bee9-c759a4048d67" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.044) 0:01:13.582 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.083) 0:01:13.666 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.099) 0:01:13.766 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:17 -0400 (0:00:00.230) 0:01:13.997 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:17 -0400 (0:00:00.060) 0:01:14.057 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:17 -0400 (0:00:00.073) 0:01:14.131 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:18 -0400 (0:00:01.625) 0:01:15.757 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:19 -0400 (0:00:00.890) 0:01:16.648 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:19 -0400 (0:00:00.046) 0:01:16.694 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:19 -0400 (0:00:00.041) 0:01:16.735 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:19 -0400 (0:00:00.042) 0:01:16.778 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:19 -0400 (0:00:00.077) 0:01:16.856 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.077) 0:01:16.934 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.080) 0:01:17.014 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.076) 0:01:17.091 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.122) 0:01:17.214 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.059) 0:01:17.273 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.066) 0:01:17.340 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.153) 0:01:17.493 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.618) 0:01:18.112 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.184) 0:01:18.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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.073) 0:01:18.370 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.048) 0:01:18.419 ****** 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, 132d2274-761c-4173-bee9-c759a4048d67 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.529) 0:01:18.948 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.034) 0:01:18.983 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 132d2274-761c-4173-bee9-c759a4048d67 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.043) 0:01:19.027 ****** 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, 132d2274-761c-4173-bee9-c759a4048d67 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 132d2274-761c-4173-bee9-c759a4048d67 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.054) 0:01:19.082 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.038) 0:01:19.121 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.366) 0:01:19.487 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.082) 0:01:19.570 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.102) 0:01:19.673 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.095) 0:01:19.768 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.070) 0:01:19.839 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:23 -0400 (0:00:00.111) 0:01:19.950 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:24 -0400 (0:00:01.692) 0:01:21.642 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:25 -0400 (0:00:00.862) 0:01:22.505 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:25 -0400 (0:00:00.044) 0:01:22.549 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:25 -0400 (0:00:00.055) 0:01:22.604 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:25 -0400 (0:00:00.055) 0:01:22.660 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:25 -0400 (0:00:00.128) 0:01:22.789 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.153) 0:01:22.942 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.140) 0:01:23.083 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.112) 0:01:23.195 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.154) 0:01:23.350 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.058) 0:01:23.408 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.078) 0:01:23.487 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.106) 0:01:23.594 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.647) 0:01:24.241 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.076) 0:01:24.317 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.074) 0:01:24.392 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.036) 0:01:24.428 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.706) 0:01:25.134 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.055) 0:01:25.190 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.063) 0:01:25.253 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.062) 0:01:25.316 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.064) 0:01:25.381 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.448) 0:01:25.829 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.070) 0:01:25.900 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.118) 0:01:26.019 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.132) 0:01:26.151 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.081) 0:01:26.233 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.048) 0:01:26.281 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.041) 0:01:26.322 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:31 -0400 (0:00:01.971) 0:01:28.294 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.884) 0:01:29.179 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.040) 0:01:29.219 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.034) 0:01:29.254 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.036) 0:01:29.290 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.056) 0:01:29.347 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.067) 0:01:29.414 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.056) 0:01:29.471 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.065) 0:01:29.536 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.097) 0:01:29.633 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.034) 0:01:29.668 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.035) 0:01:29.704 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.074) 0:01:29.778 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:33 -0400 (0:00:00.579) 0:01:30.358 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:33 -0400 (0:00:00.101) 0:01:30.460 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:33 -0400 (0:00:00.060) 0:01:30.520 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:33 -0400 (0:00:00.119) 0:01:30.640 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:34 -0400 (0:00:00.677) 0:01:31.318 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:34 -0400 (0:00:00.086) 0:01:31.405 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:34 -0400 (0:00:00.122) 0:01:31.527 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:34 -0400 (0:00:00.135) 0:01:31.662 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:34 -0400 (0:00:00.110) 0:01:31.773 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.485) 0:01:32.258 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.067) 0:01:32.326 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.066) 0:01:32.392 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.042) 0:01:32.435 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.392) 0:01:32.828 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.044) 0:01:32.872 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018273", "end": "2024-10-26 08:49:36.305291", "rc": 1, "start": "2024-10-26 08:49:36.287018" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.382) 0:01:33.254 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.037) 0:01:33.292 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.039) 0:01:33.332 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.100) 0:01:33.432 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.055) 0:01:33.488 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.057) 0:01:33.546 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.060) 0:01:33.606 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.118) 0:01:33.724 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.071) 0:01:33.796 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.369) 0:01:34.166 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.067) 0:01:34.233 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.064) 0:01:34.297 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.110) 0:01:34.408 ****** 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.036066", "end": "2024-10-26 08:49:37.869507", "rc": 1, "start": "2024-10-26 08:49:37.833441" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.427) 0:01:34.835 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.101) 0:01:34.936 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.073) 0:01:35.010 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.092) 0:01:35.103 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.111) 0:01:35.215 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.064) 0:01:35.280 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003338", "end": "2024-10-26 08:49:38.712921", "rc": 0, "start": "2024-10-26 08:49:38.709583" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.401) 0:01:35.681 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.064) 0:01:35.746 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.061) 0:01:35.808 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:49:39 -0400 (0:00:00.101) 0:01:35.910 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:39 -0400 (0:00:00.113) 0:01:36.024 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:39 -0400 (0:00:00.072) 0:01:36.096 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:39 -0400 (0:00:00.065) 0:01:36.162 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:39 -0400 (0:00:00.059) 0:01:36.221 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:39 -0400 (0:00:00.063) 0:01:36.285 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:42 -0400 (0:00:02.709) 0:01:38.995 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:43 -0400 (0:00:01.010) 0:01:40.006 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.061) 0:01:40.067 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.061) 0:01:40.128 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.056) 0:01:40.185 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.061) 0:01:40.247 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.118) 0:01:40.366 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.097) 0:01:40.463 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.106) 0:01:40.569 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.146) 0:01:40.716 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.058) 0:01:40.774 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.057) 0:01:40.832 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.080) 0:01:40.912 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.671) 0:01:41.583 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.086) 0:01:41.670 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.059) 0:01:41.730 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.057) 0:01:41.787 ****** 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, 7d056781-8d71-4863-95dc-406396030206 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:45 -0400 (0:00:00.681) 0:01:42.469 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:45 -0400 (0:00:00.130) 0:01:42.599 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d056781-8d71-4863-95dc-406396030206" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:45 -0400 (0:00:00.079) 0:01:42.678 ****** 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, 7d056781-8d71-4863-95dc-406396030206\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d056781-8d71-4863-95dc-406396030206" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:45 -0400 (0:00:00.079) 0:01:42.757 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:45 -0400 (0:00:00.082) 0:01:42.843 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:49:46 -0400 (0:00:00.495) 0:01:43.338 ****** 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, 7d056781-8d71-4863-95dc-406396030206\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d056781-8d71-4863-95dc-406396030206" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:49:46 -0400 (0:00:00.066) 0:01:43.405 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:46 -0400 (0:00:00.131) 0:01:43.536 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:46 -0400 (0:00:00.155) 0:01:43.691 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.210) 0:01:43.902 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.122) 0:01:44.024 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.126) 0:01:44.151 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:49 -0400 (0:00:01.773) 0:01:45.924 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.971) 0:01:46.896 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.064) 0:01:46.960 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.060) 0:01:47.021 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.045) 0:01:47.066 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.070) 0:01:47.137 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.082) 0:01:47.220 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.060) 0:01:47.281 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.078) 0:01:47.360 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.096) 0:01:47.457 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.042) 0:01:47.499 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.056) 0:01:47.556 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:50 -0400 (0:00:00.087) 0:01:47.643 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:51 -0400 (0:00:00.671) 0:01:48.314 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:51 -0400 (0:00:00.143) 0:01:48.458 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:51 -0400 (0:00:00.066) 0:01:48.524 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:51 -0400 (0:00:00.044) 0:01:48.569 ****** 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, 7d056781-8d71-4863-95dc-406396030206 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.525) 0:01:49.094 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.042) 0:01:49.137 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7d056781-8d71-4863-95dc-406396030206 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.059) 0:01:49.197 ****** 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, 7d056781-8d71-4863-95dc-406396030206 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7d056781-8d71-4863-95dc-406396030206 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.118) 0:01:49.316 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.048) 0:01:49.364 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.403) 0:01:49.768 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.080) 0:01:49.848 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.073) 0:01:49.921 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.067) 0:01:49.989 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.041) 0:01:50.030 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.041) 0:01:50.072 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:54 -0400 (0:00:01.654) 0:01:51.727 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.916) 0:01:52.643 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.043) 0:01:52.687 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.041) 0:01:52.728 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.096) 0:01:52.825 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.058) 0:01:52.883 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.073) 0:01:52.956 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.056) 0:01:53.013 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.070) 0:01:53.083 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.123) 0:01:53.207 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.057) 0:01:53.265 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.060) 0:01:53.326 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.103) 0:01:53.429 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.621) 0:01:54.051 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.071) 0:01:54.123 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.045) 0:01:54.168 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.058) 0:01:54.227 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.721) 0:01:54.948 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.081) 0:01:55.030 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.069) 0:01:55.100 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.082) 0:01:55.182 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.058) 0:01:55.240 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.430) 0:01:55.671 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.067) 0:01:55.738 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.081) 0:01:55.819 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:59 -0400 (0:00:00.073) 0:01:55.893 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:59 -0400 (0:00:00.080) 0:01:55.974 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:59 -0400 (0:00:00.061) 0:01:56.036 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:59 -0400 (0:00:00.062) 0:01:56.098 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:50:00 -0400 (0:00:01.729) 0:01:57.827 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:50:01 -0400 (0:00:00.888) 0:01:58.716 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:50:01 -0400 (0:00:00.068) 0:01:58.785 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:50:01 -0400 (0:00:00.067) 0:01:58.853 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.065) 0:01:58.919 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.180) 0:01:59.099 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.106) 0:01:59.206 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.094) 0:01:59.300 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.106) 0:01:59.407 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.158) 0:01:59.566 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.049) 0:01:59.615 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.049) 0:01:59.665 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:50:02 -0400 (0:00:00.112) 0:01:59.777 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:50:03 -0400 (0:00:00.619) 0:02:00.396 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:50:03 -0400 (0:00:00.070) 0:02:00.467 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:50:03 -0400 (0:00:00.037) 0:02:00.505 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:50:03 -0400 (0:00:00.035) 0:02:00.541 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:50:04 -0400 (0:00:00.605) 0:02:01.146 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:50:04 -0400 (0:00:00.060) 0:02:01.207 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:50:04 -0400 (0:00:00.066) 0:02:01.273 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:50:04 -0400 (0:00:00.059) 0:02:01.333 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:50:04 -0400 (0:00:00.062) 0:02:01.396 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:50:04 -0400 (0:00:00.398) 0:02:01.794 ****** included: /tmp/collections-qv0/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:50:05 -0400 (0:00:00.263) 0:02:02.058 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:50:05 -0400 (0:00:00.144) 0:02:02.202 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:50:05 -0400 (0:00:00.053) 0:02:02.256 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:50:05 -0400 (0:00:00.369) 0:02:02.626 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:50:05 -0400 (0:00:00.051) 0:02:02.677 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018674", "end": "2024-10-26 08:50:06.124769", "rc": 1, "start": "2024-10-26 08:50:06.106095" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:50:06 -0400 (0:00:00.403) 0:02:03.081 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:50:06 -0400 (0:00:00.058) 0:02:03.139 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:50:06 -0400 (0:00:00.059) 0:02:03.198 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:50:06 -0400 (0:00:00.059) 0:02:03.258 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:50:06 -0400 (0:00:00.045) 0:02:03.304 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:50:06 -0400 (0:00:00.045) 0:02:03.350 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 26 October 2024 08:50:06 -0400 (0:00:00.059) 0:02:03.409 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.247458", "end": "2024-10-26 08:50:07.091219", "rc": 0, "start": "2024-10-26 08:50:06.843761" } STDOUT: NetworkManager-1.51.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 26 October 2024 08:50:07 -0400 (0:00:00.629) 0:02:04.038 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 26 October 2024 08:50:07 -0400 (0:00:00.038) 0:02:04.077 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.51.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:50:07 -0400 (0:00:00.037) 0:02:04.115 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:50:07 -0400 (0:00:00.145) 0:02:04.261 ****** included: /tmp/collections-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:50:07 -0400 (0:00:00.091) 0:02:04.352 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:50:07 -0400 (0:00:00.448) 0:02:04.800 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:50:07 -0400 (0:00:00.057) 0:02:04.858 ****** 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:50:08 -0400 (0:00:00.055) 0:02:04.914 ****** included: /tmp/collections-qv0/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:50:08 -0400 (0:00:00.078) 0:02:04.992 ****** 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.036682", "end": "2024-10-26 08:50:08.444962", "rc": 1, "start": "2024-10-26 08:50:08.408280" } 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 26 October 2024 08:50:08 -0400 (0:00:00.401) 0:02:05.394 ****** 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.008963", "end": "2024-10-26 08:50:08.812656", "rc": 0, "start": "2024-10-26 08:50:08.803693" } 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:24:68:51:ec:c7 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.47.188/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3002sec preferred_lft 3002sec inet6 fe80::24:68ff:fe51:ecc7/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.188 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.188 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-qv0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 26 October 2024 08:50:08 -0400 (0:00:00.379) 0:02:05.774 ****** 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.411061", "end": "2024-10-26 08:50:09.633210", "rc": 0, "start": "2024-10-26 08:50:09.222149" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 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:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1993 0 --:--:-- --:--:-- --:--:-- 1993 % 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 1254 0 --:--:-- --:--:-- --:--:-- 1254 PLAY RECAP ********************************************************************* managed-node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 26 October 2024 08:50:09 -0400 (0:00:00.879) 0:02:06.653 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.93s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.71s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-qv0/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-qv0/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-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.01s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/collections-qv0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26