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-D09 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-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.007) 0:00:00.007 ****** [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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 12 October 2024 13:49:05 -0400 (0:00:01.116) 0:00:01.124 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 12 October 2024 13:49:05 -0400 (0:00:00.090) 0:00:01.214 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 12 October 2024 13:49:05 -0400 (0:00:00.627) 0:00:01.841 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.524) 0:00:02.366 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.064) 0:00:02.430 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.046) 0:00:02.477 ****** included: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.122) 0:00:02.600 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.036) 0:00:02.637 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.036) 0:00:02.673 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.034) 0:00:02.707 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.031) 0:00:02.739 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.023) 0:00:02.763 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 12 October 2024 13:49:06 -0400 (0:00:00.048) 0:00:02.811 ****** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.809) 0:00:03.621 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.033) 0:00:03.655 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.038) 0:00:03.693 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.024) 0:00:03.718 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.059) 0:00:03.777 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.034) 0:00:03.812 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.031) 0:00:03.843 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003517", "end": "2024-10-12 13:49:08.422252", "rc": 0, "start": "2024-10-12 13:49:08.418735" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.501) 0:00:04.345 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.032) 0:00:04.378 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.025) 0:00:04.404 ****** included: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.034) 0:00:04.438 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007885", "end": "2024-10-12 13:49:08.854704", "rc": 1, "start": "2024-10-12 13:49:08.846819" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.337) 0:00:04.776 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.021) 0:00:04.797 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.343) 0:00:05.141 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.021) 0:00:05.163 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.034) 0:00:05.197 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.045) 0:00:05.242 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.037) 0:00:05.279 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.046) 0:00:05.326 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.029) 0:00:05.356 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:49:09 -0400 (0:00:00.026) 0:00:05.383 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:49:11 -0400 (0:00:01.853) 0:00:07.236 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:49:12 -0400 (0:00:01.047) 0:00:08.284 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.045) 0:00:08.330 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.051) 0:00:08.381 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.053) 0:00:08.435 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.084) 0:00:08.520 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.101) 0:00:08.621 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.084) 0:00:08.706 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.099) 0:00:08.805 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.117) 0:00:08.922 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.034) 0:00:08.957 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.055) 0:00:09.012 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.057) 0:00:09.070 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.728) 0:00:09.798 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.074) 0:00:09.873 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.030) 0:00:09.903 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.029) 0:00:09.933 ****** 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, b229de6c-f23e-4ca8-9cf2-bb35efd1fa67 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.710) 0:00:10.644 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.036) 0:00:10.680 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b229de6c-f23e-4ca8-9cf2-bb35efd1fa67" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.047) 0:00:10.727 ****** 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, b229de6c-f23e-4ca8-9cf2-bb35efd1fa67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b229de6c-f23e-4ca8-9cf2-bb35efd1fa67" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.055) 0:00:10.782 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:49:14 -0400 (0:00:00.040) 0:00:10.823 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:49:15 -0400 (0:00:00.535) 0:00:11.358 ****** 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, b229de6c-f23e-4ca8-9cf2-bb35efd1fa67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b229de6c-f23e-4ca8-9cf2-bb35efd1fa67" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:49:15 -0400 (0:00:00.061) 0:00:11.420 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:49:15 -0400 (0:00:00.181) 0:00:11.602 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:49:15 -0400 (0:00:00.177) 0:00:11.779 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.207) 0:00:11.986 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.416) 0:00:12.403 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.052) 0:00:12.456 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019421", "end": "2024-10-12 13:49:16.925132", "rc": 0, "start": "2024-10-12 13:49:16.905711" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.462) 0:00:12.918 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.124) 0:00:13.043 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.067) 0:00:13.111 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.058) 0:00:13.169 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.048) 0:00:13.218 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.045) 0:00:13.264 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.050) 0:00:13.314 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.041) 0:00:13.356 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.034) 0:00:13.390 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.081) 0:00:13.472 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.049) 0:00:13.522 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755354.6556869, "block_size": 4096, "blocks": 0, "ctime": 1728755354.6556869, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31927, "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": 1728755354.6556869, "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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.404) 0:00:13.926 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.089) 0:00:14.015 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.077) 0:00:14.093 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.138) 0:00:14.232 ****** 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.060463", "end": "2024-10-12 13:49:18.733477", "rc": 1, "start": "2024-10-12 13:49:18.673014" } STDOUT: Connection 'statebr' (b229de6c-f23e-4ca8-9cf2-bb35efd1fa67) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.441) 0:00:14.673 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.094) 0:00:14.767 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.059) 0:00:14.827 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:49:19 -0400 (0:00:00.116) 0:00:14.943 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:19 -0400 (0:00:00.092) 0:00:15.036 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:19 -0400 (0:00:00.073) 0:00:15.109 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003449", "end": "2024-10-12 13:49:19.551495", "rc": 0, "start": "2024-10-12 13:49:19.548046" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:19 -0400 (0:00:00.404) 0:00:15.514 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:19 -0400 (0:00:00.056) 0:00:15.571 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:49:19 -0400 (0:00:00.038) 0:00:15.609 ****** included: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:49:19 -0400 (0:00:00.096) 0:00:15.706 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006400", "end": "2024-10-12 13:49:20.142986", "rc": 1, "start": "2024-10-12 13:49:20.136586" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:49:20 -0400 (0:00:00.370) 0:00:16.076 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:20 -0400 (0:00:00.079) 0:00:16.155 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:49:20 -0400 (0:00:00.359) 0:00:16.515 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:49:20 -0400 (0:00:00.071) 0:00:16.587 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 12 October 2024 13:49:20 -0400 (0:00:00.101) 0:00:16.688 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:49:20 -0400 (0:00:00.125) 0:00:16.814 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:49:21 -0400 (0:00:00.203) 0:00:17.017 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:49:21 -0400 (0:00:00.112) 0:00:17.130 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:49:21 -0400 (0:00:00.074) 0:00:17.205 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:49:21 -0400 (0:00:00.060) 0:00:17.265 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:49:24 -0400 (0:00:02.683) 0:00:19.949 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:49:24 -0400 (0:00:00.855) 0:00:20.804 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.080) 0:00:20.885 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.080) 0:00:20.965 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.047) 0:00:21.012 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.052) 0:00:21.065 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.062) 0:00:21.128 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.049) 0:00:21.178 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.083) 0:00:21.261 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.154) 0:00:21.416 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.053) 0:00:21.469 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.055) 0:00:21.525 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:49:25 -0400 (0:00:00.093) 0:00:21.619 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:49:26 -0400 (0:00:00.678) 0:00:22.297 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:49:26 -0400 (0:00:00.103) 0:00:22.400 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:49:26 -0400 (0:00:00.065) 0:00:22.466 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:49:26 -0400 (0:00:00.059) 0:00:22.525 ****** 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, 69ab171e-228e-49f2-901c-996d3e41c1d1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.584) 0:00:23.110 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.030) 0:00:23.141 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69ab171e-228e-49f2-901c-996d3e41c1d1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.034) 0:00:23.175 ****** 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, 69ab171e-228e-49f2-901c-996d3e41c1d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69ab171e-228e-49f2-901c-996d3e41c1d1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.033) 0:00:23.209 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.075) 0:00:23.285 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.394) 0:00:23.679 ****** 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, 69ab171e-228e-49f2-901c-996d3e41c1d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 69ab171e-228e-49f2-901c-996d3e41c1d1" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.040) 0:00:23.720 ****** included: /tmp/collections-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.062) 0:00:23.783 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:27 -0400 (0:00:00.049) 0:00:23.832 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:49:28 -0400 (0:00:00.397) 0:00:24.230 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:49:28 -0400 (0:00:00.059) 0:00:24.290 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:49:28 -0400 (0:00:00.145) 0:00:24.435 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:49:28 -0400 (0:00:00.061) 0:00:24.497 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.401) 0:00:24.898 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.064) 0:00:24.962 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018285", "end": "2024-10-12 13:49:29.416486", "rc": 0, "start": "2024-10-12 13:49:29.398201" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.410) 0:00:25.373 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.059) 0:00:25.432 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.056) 0:00:25.488 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.053) 0:00:25.542 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.121) 0:00:25.663 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.053) 0:00:25.717 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.075) 0:00:25.792 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:49:29 -0400 (0:00:00.071) 0:00:25.864 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:49:30 -0400 (0:00:00.074) 0:00:25.938 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:49:30 -0400 (0:00:00.090) 0:00:26.029 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:49:30 -0400 (0:00:00.054) 0:00:26.084 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:49:30 -0400 (0:00:00.165) 0:00:26.249 ****** 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.037888", "end": "2024-10-12 13:49:30.737613", "rc": 1, "start": "2024-10-12 13:49:30.699725" } STDOUT: Connection 'statebr' (69ab171e-228e-49f2-901c-996d3e41c1d1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 12 October 2024 13:49:30 -0400 (0:00:00.441) 0:00:26.690 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:49:30 -0400 (0:00:00.108) 0:00:26.799 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:49:30 -0400 (0:00:00.050) 0:00:26.850 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:49:31 -0400 (0:00:00.082) 0:00:26.932 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:31 -0400 (0:00:00.053) 0:00:26.986 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:31 -0400 (0:00:00.056) 0:00:27.042 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003374", "end": "2024-10-12 13:49:31.474789", "rc": 0, "start": "2024-10-12 13:49:31.471415" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:31 -0400 (0:00:00.452) 0:00:27.495 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:31 -0400 (0:00:00.100) 0:00:27.595 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:49:31 -0400 (0:00:00.067) 0:00:27.663 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:49:31 -0400 (0:00:00.146) 0:00:27.809 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:49:32 -0400 (0:00:00.111) 0:00:27.921 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:49:32 -0400 (0:00:00.090) 0:00:28.011 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:49:32 -0400 (0:00:00.109) 0:00:28.121 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:49:32 -0400 (0:00:00.060) 0:00:28.181 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:49:32 -0400 (0:00:00.047) 0:00:28.228 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:49:33 -0400 (0:00:01.630) 0:00:29.858 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:49:34 -0400 (0:00:00.751) 0:00:30.610 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:49:34 -0400 (0:00:00.034) 0:00:30.644 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:49:34 -0400 (0:00:00.069) 0:00:30.714 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:49:34 -0400 (0:00:00.030) 0:00:30.744 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:49:34 -0400 (0:00:00.119) 0:00:30.864 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:49:35 -0400 (0:00:00.146) 0:00:31.010 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:49:35 -0400 (0:00:00.151) 0:00:31.161 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:49:35 -0400 (0:00:00.117) 0:00:31.279 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:49:35 -0400 (0:00:00.156) 0:00:31.435 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:49:35 -0400 (0:00:00.074) 0:00:31.510 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:49:35 -0400 (0:00:00.074) 0:00:31.585 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:49:35 -0400 (0:00:00.131) 0:00:31.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:49:36 -0400 (0:00:00.767) 0:00:32.484 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:49:36 -0400 (0:00:00.058) 0:00:32.542 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:49:36 -0400 (0:00:00.030) 0:00:32.573 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:49:36 -0400 (0:00:00.043) 0:00:32.616 ****** 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, f2358742-8fa1-45d3-a6b2-7de3fee45347 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:49:37 -0400 (0:00:00.592) 0:00:33.209 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:49:37 -0400 (0:00:00.057) 0:00:33.266 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2358742-8fa1-45d3-a6b2-7de3fee45347" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:49:37 -0400 (0:00:00.059) 0:00:33.326 ****** 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, f2358742-8fa1-45d3-a6b2-7de3fee45347\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2358742-8fa1-45d3-a6b2-7de3fee45347" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:49:37 -0400 (0:00:00.064) 0:00:33.390 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:49:37 -0400 (0:00:00.068) 0:00:33.458 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.495) 0:00:33.954 ****** 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, f2358742-8fa1-45d3-a6b2-7de3fee45347\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2358742-8fa1-45d3-a6b2-7de3fee45347" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.057) 0:00:34.012 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.099) 0:00:34.111 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.120) 0:00:34.231 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.109) 0:00:34.341 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.081) 0:00:34.422 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.046) 0:00:34.468 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:49:38 -0400 (0:00:00.049) 0:00:34.517 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:49:40 -0400 (0:00:01.630) 0:00:36.148 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.816) 0:00:36.964 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.056) 0:00:37.021 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.100) 0:00:37.121 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.052) 0:00:37.173 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.087) 0:00:37.261 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.097) 0:00:37.359 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.085) 0:00:37.445 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.073) 0:00:37.518 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.176) 0:00:37.695 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.073) 0:00:37.768 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:49:41 -0400 (0:00:00.061) 0:00:37.830 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:49:42 -0400 (0:00:00.084) 0:00:37.914 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:49:42 -0400 (0:00:00.606) 0:00:38.521 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:49:42 -0400 (0:00:00.058) 0:00:38.580 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:49:42 -0400 (0:00:00.030) 0:00:38.610 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:49:42 -0400 (0:00:00.030) 0:00:38.641 ****** 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, f2358742-8fa1-45d3-a6b2-7de3fee45347 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:49:43 -0400 (0:00:00.496) 0:00:39.138 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:49:43 -0400 (0:00:00.031) 0:00:39.169 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2358742-8fa1-45d3-a6b2-7de3fee45347 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:49:43 -0400 (0:00:00.034) 0:00:39.204 ****** 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, f2358742-8fa1-45d3-a6b2-7de3fee45347 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2358742-8fa1-45d3-a6b2-7de3fee45347 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:49:43 -0400 (0:00:00.042) 0:00:39.246 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:49:43 -0400 (0:00:00.049) 0:00:39.296 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:49:43 -0400 (0:00:00.517) 0:00:39.813 ****** included: /tmp/collections-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:49:44 -0400 (0:00:00.114) 0:00:39.928 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:44 -0400 (0:00:00.083) 0:00:40.011 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755377.2047493, "block_size": 4096, "blocks": 0, "ctime": 1728755377.2047493, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32058, "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": 1728755377.2047493, "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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:49:44 -0400 (0:00:00.344) 0:00:40.356 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:49:44 -0400 (0:00:00.057) 0:00:40.413 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:49:44 -0400 (0:00:00.096) 0:00:40.510 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:49:44 -0400 (0:00:00.097) 0:00:40.607 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.507) 0:00:41.115 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.054) 0:00:41.170 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019001", "end": "2024-10-12 13:49:45.648983", "rc": 0, "start": "2024-10-12 13:49:45.629982" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.421) 0:00:41.591 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.044) 0:00:41.636 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.037) 0:00:41.673 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.033) 0:00:41.706 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.031) 0:00:41.738 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.073) 0:00:41.812 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:49:45 -0400 (0:00:00.054) 0:00:41.866 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.059) 0:00:41.926 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.057) 0:00:41.983 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.079) 0:00:42.063 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.070) 0:00:42.133 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.082) 0:00:42.216 ****** 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.061566", "end": "2024-10-12 13:49:46.687554", "rc": 1, "start": "2024-10-12 13:49:46.625988" } STDOUT: Connection 'statebr' (f2358742-8fa1-45d3-a6b2-7de3fee45347) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.412) 0:00:42.628 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.070) 0:00:42.699 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.034) 0:00:42.733 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.066) 0:00:42.799 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:46 -0400 (0:00:00.055) 0:00:42.855 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.081) 0:00:42.937 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003627", "end": "2024-10-12 13:49:47.370698", "rc": 0, "start": "2024-10-12 13:49:47.367071" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.389) 0:00:43.326 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.041) 0:00:43.368 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.102) 0:00:43.470 ****** included: /tmp/collections-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.088) 0:00:43.559 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.081) 0:00:43.640 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.061) 0:00:43.702 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.058) 0:00:43.760 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.035) 0:00:43.796 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:49:47 -0400 (0:00:00.036) 0:00:43.832 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:49:49 -0400 (0:00:01.667) 0:00:45.499 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:49:50 -0400 (0:00:00.910) 0:00:46.410 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:49:50 -0400 (0:00:00.059) 0:00:46.469 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:49:50 -0400 (0:00:00.054) 0:00:46.524 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:49:50 -0400 (0:00:00.055) 0:00:46.579 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:49:50 -0400 (0:00:00.176) 0:00:46.756 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:49:50 -0400 (0:00:00.067) 0:00:46.823 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.050) 0:00:46.874 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.062) 0:00:46.936 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.085) 0:00:47.022 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.037) 0:00:47.059 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.042) 0:00:47.101 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.095) 0:00:47.197 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.609) 0:00:47.806 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:49:51 -0400 (0:00:00.060) 0:00:47.866 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:49:52 -0400 (0:00:00.030) 0:00:47.897 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:49:52 -0400 (0:00:00.030) 0:00:47.928 ****** 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, c42ee412-eccf-4fbd-b491-27ced472ae4b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:49:52 -0400 (0:00:00.566) 0:00:48.494 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:49:52 -0400 (0:00:00.054) 0:00:48.548 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c42ee412-eccf-4fbd-b491-27ced472ae4b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:49:52 -0400 (0:00:00.057) 0:00:48.605 ****** 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, c42ee412-eccf-4fbd-b491-27ced472ae4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c42ee412-eccf-4fbd-b491-27ced472ae4b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:49:52 -0400 (0:00:00.047) 0:00:48.653 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:49:52 -0400 (0:00:00.036) 0:00:48.690 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:49:53 -0400 (0:00:00.577) 0:00:49.268 ****** 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, c42ee412-eccf-4fbd-b491-27ced472ae4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c42ee412-eccf-4fbd-b491-27ced472ae4b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:49:53 -0400 (0:00:00.093) 0:00:49.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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:49:53 -0400 (0:00:00.167) 0:00:49.528 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:49:53 -0400 (0:00:00.090) 0:00:49.619 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:49:53 -0400 (0:00:00.072) 0:00:49.692 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:49:53 -0400 (0:00:00.040) 0:00:49.732 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:49:53 -0400 (0:00:00.037) 0:00:49.769 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:49:55 -0400 (0:00:01.666) 0:00:51.436 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.805) 0:00:52.241 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.035) 0:00:52.277 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.032) 0:00:52.309 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.035) 0:00:52.345 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.080) 0:00:52.425 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.143) 0:00:52.569 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.059) 0:00:52.629 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.062) 0:00:52.692 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.085) 0:00:52.777 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.032) 0:00:52.810 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:49:56 -0400 (0:00:00.030) 0:00:52.840 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:49:57 -0400 (0:00:00.066) 0:00:52.907 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:49:57 -0400 (0:00:00.607) 0:00:53.515 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:49:57 -0400 (0:00:00.119) 0:00:53.634 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:49:57 -0400 (0:00:00.090) 0:00:53.725 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:49:57 -0400 (0:00:00.100) 0:00:53.826 ****** 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, c42ee412-eccf-4fbd-b491-27ced472ae4b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:49:58 -0400 (0:00:00.669) 0:00:54.495 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:49:58 -0400 (0:00:00.106) 0:00:54.602 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c42ee412-eccf-4fbd-b491-27ced472ae4b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:49:58 -0400 (0:00:00.113) 0:00:54.716 ****** 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, c42ee412-eccf-4fbd-b491-27ced472ae4b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c42ee412-eccf-4fbd-b491-27ced472ae4b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:49:58 -0400 (0:00:00.077) 0:00:54.793 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:49:58 -0400 (0:00:00.042) 0:00:54.835 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:49:59 -0400 (0:00:00.385) 0:00:55.220 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:49:59 -0400 (0:00:00.153) 0:00:55.374 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:49:59 -0400 (0:00:00.126) 0:00:55.500 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:49:59 -0400 (0:00:00.148) 0:00:55.648 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:49:59 -0400 (0:00:00.131) 0:00:55.780 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:49:59 -0400 (0:00:00.086) 0:00:55.867 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:00 -0400 (0:00:00.077) 0:00:55.945 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:02 -0400 (0:00:02.701) 0:00:58.646 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:03 -0400 (0:00:00.845) 0:00:59.492 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:03 -0400 (0:00:00.042) 0:00:59.535 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:03 -0400 (0:00:00.037) 0:00:59.572 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:03 -0400 (0:00:00.053) 0:00:59.626 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:03 -0400 (0:00:00.086) 0:00:59.712 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:03 -0400 (0:00:00.072) 0:00:59.785 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.117) 0:00:59.902 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.060) 0:00:59.963 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.116) 0:01:00.079 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.047) 0:01:00.127 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.037) 0:01:00.164 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.075) 0:01:00.240 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.545) 0:01:00.785 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:04 -0400 (0:00:00.084) 0:01:00.870 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:05 -0400 (0:00:00.041) 0:01:00.912 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:05 -0400 (0:00:00.031) 0:01:00.943 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:05 -0400 (0:00:00.547) 0:01:01.491 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:05 -0400 (0:00:00.053) 0:01:01.545 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:05 -0400 (0:00:00.060) 0:01:01.605 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:05 -0400 (0:00:00.044) 0:01:01.650 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:05 -0400 (0:00:00.035) 0:01:01.685 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:50:06 -0400 (0:00:00.425) 0:01:02.111 ****** included: /tmp/collections-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:50:06 -0400 (0:00:00.130) 0:01:02.241 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:50:06 -0400 (0:00:00.178) 0:01:02.420 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755392.4993973, "block_size": 4096, "blocks": 0, "ctime": 1728755392.4993973, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32189, "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": 1728755392.4993973, "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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:50:06 -0400 (0:00:00.391) 0:01:02.811 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:50:07 -0400 (0:00:00.063) 0:01:02.874 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:50:07 -0400 (0:00:00.096) 0:01:02.971 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:50:07 -0400 (0:00:00.054) 0:01:03.025 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:50:07 -0400 (0:00:00.367) 0:01:03.393 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:50:07 -0400 (0:00:00.046) 0:01:03.440 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019233", "end": "2024-10-12 13:50:07.867383", "rc": 1, "start": "2024-10-12 13:50:07.848150" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:50:07 -0400 (0:00:00.384) 0:01:03.824 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.051) 0:01:03.876 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.040) 0:01:03.916 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.074) 0:01:03.991 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.060) 0:01:04.051 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.080) 0:01:04.132 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.052) 0:01:04.184 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.085) 0:01:04.269 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.065) 0:01:04.335 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:50:08 -0400 (0:00:00.172) 0:01:04.507 ****** 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.061285", "end": "2024-10-12 13:50:09.040926", "rc": 1, "start": "2024-10-12 13:50:08.979641" } STDOUT: Connection 'statebr' (c42ee412-eccf-4fbd-b491-27ced472ae4b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 12 October 2024 13:50:09 -0400 (0:00:00.537) 0:01:05.045 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:50:09 -0400 (0:00:00.116) 0:01:05.162 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:50:09 -0400 (0:00:00.060) 0:01:05.223 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:50:09 -0400 (0:00:00.128) 0:01:05.351 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:50:09 -0400 (0:00:00.171) 0:01:05.522 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:50:09 -0400 (0:00:00.102) 0:01:05.625 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003347", "end": "2024-10-12 13:50:10.134592", "rc": 0, "start": "2024-10-12 13:50:10.131245" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:50:10 -0400 (0:00:00.502) 0:01:06.128 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:50:10 -0400 (0:00:00.060) 0:01:06.189 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:50:10 -0400 (0:00:00.110) 0:01:06.299 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:50:10 -0400 (0:00:00.216) 0:01:06.515 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:10 -0400 (0:00:00.155) 0:01:06.671 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:11 -0400 (0:00:00.214) 0:01:06.886 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:11 -0400 (0:00:00.185) 0:01:07.072 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:11 -0400 (0:00:00.090) 0:01:07.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 : Check which services are running] **** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:11 -0400 (0:00:00.094) 0:01:07.257 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:14 -0400 (0:00:02.761) 0:01:10.018 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:14 -0400 (0:00:00.817) 0:01:10.836 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.069) 0:01:10.905 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.053) 0:01:10.959 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.056) 0:01:11.016 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.115) 0:01:11.131 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.077) 0:01:11.208 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.093) 0:01:11.302 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.074) 0:01:11.377 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.102) 0:01:11.479 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.031) 0:01:11.510 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.071) 0:01:11.582 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:15 -0400 (0:00:00.083) 0:01:11.665 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:16 -0400 (0:00:00.569) 0:01:12.234 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:16 -0400 (0:00:00.069) 0:01:12.304 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:16 -0400 (0:00:00.039) 0:01:12.343 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:16 -0400 (0:00:00.043) 0:01:12.387 ****** 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, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.670) 0:01:13.057 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.040) 0:01:13.097 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.052) 0:01:13.150 ****** 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, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.063) 0:01:13.213 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.057) 0:01:13.271 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.410) 0:01:13.681 ****** 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, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.059) 0:01:13.741 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:17 -0400 (0:00:00.085) 0:01:13.827 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:18 -0400 (0:00:00.078) 0:01:13.905 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:18 -0400 (0:00:00.153) 0:01:14.059 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:18 -0400 (0:00:00.056) 0:01:14.116 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:18 -0400 (0:00:00.047) 0:01:14.163 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:19 -0400 (0:00:01.629) 0:01:15.793 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:20 -0400 (0:00:00.955) 0:01:16.749 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:20 -0400 (0:00:00.062) 0:01:16.811 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:20 -0400 (0:00:00.042) 0:01:16.854 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.038) 0:01:16.893 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.051) 0:01:16.945 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.061) 0:01:17.007 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.059) 0:01:17.066 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.087) 0:01:17.154 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.117) 0:01:17.271 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.039) 0:01:17.310 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.047) 0:01:17.357 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:21 -0400 (0:00:00.114) 0:01:17.472 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:22 -0400 (0:00:00.533) 0:01:18.006 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:22 -0400 (0:00:00.064) 0:01:18.070 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:22 -0400 (0:00:00.037) 0:01:18.108 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:22 -0400 (0:00:00.063) 0:01:18.171 ****** 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, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.702) 0:01:18.873 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.031) 0:01:18.905 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.036) 0:01:18.941 ****** 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, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86d44f80-feb0-4e39-82cb-3cb60f4b99d9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.036) 0:01:18.978 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.033) 0:01:19.012 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.425) 0:01:19.437 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.215) 0:01:19.653 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:23 -0400 (0:00:00.168) 0:01:19.821 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:24 -0400 (0:00:00.102) 0:01:19.923 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:24 -0400 (0:00:00.063) 0:01:19.987 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:24 -0400 (0:00:00.125) 0:01:20.112 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:25 -0400 (0:00:01.715) 0:01:21.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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:26 -0400 (0:00:00.837) 0:01:22.664 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:26 -0400 (0:00:00.085) 0:01:22.750 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:26 -0400 (0:00:00.058) 0:01:22.809 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:26 -0400 (0:00:00.055) 0:01:22.865 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.116) 0:01:22.981 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.161) 0:01:23.143 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.150) 0:01:23.293 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.090) 0:01:23.384 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.100) 0:01:23.484 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.033) 0:01:23.517 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.030) 0:01:23.548 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:27 -0400 (0:00:00.068) 0:01:23.617 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:28 -0400 (0:00:00.602) 0:01:24.219 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:28 -0400 (0:00:00.073) 0:01:24.292 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:28 -0400 (0:00:00.109) 0:01:24.402 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:28 -0400 (0:00:00.036) 0:01:24.438 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:29 -0400 (0:00:00.610) 0:01:25.049 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:29 -0400 (0:00:00.112) 0:01:25.161 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:29 -0400 (0:00:00.125) 0:01:25.287 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:29 -0400 (0:00:00.118) 0:01:25.405 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:29 -0400 (0:00:00.073) 0:01:25.478 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:50:30 -0400 (0:00:00.412) 0:01:25.890 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:50:30 -0400 (0:00:00.075) 0:01:25.966 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:30 -0400 (0:00:00.100) 0:01:26.067 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:30 -0400 (0:00:00.098) 0:01:26.165 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:30 -0400 (0:00:00.121) 0:01:26.287 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:30 -0400 (0:00:00.129) 0:01:26.416 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:30 -0400 (0:00:00.119) 0:01:26.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 : Check which packages are installed] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:32 -0400 (0:00:01.819) 0:01:28.356 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.748) 0:01:29.104 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.036) 0:01:29.141 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.036) 0:01:29.177 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.043) 0:01:29.220 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.085) 0:01:29.306 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.100) 0:01:29.406 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.087) 0:01:29.493 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.097) 0:01:29.591 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.148) 0:01:29.739 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.054) 0:01:29.794 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:33 -0400 (0:00:00.057) 0:01:29.851 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:34 -0400 (0:00:00.124) 0:01:29.975 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:34 -0400 (0:00:00.752) 0:01:30.728 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:34 -0400 (0:00:00.074) 0:01:30.803 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:34 -0400 (0:00:00.039) 0:01:30.842 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:35 -0400 (0:00:00.085) 0:01:30.928 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:35 -0400 (0:00:00.746) 0:01:31.674 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:35 -0400 (0:00:00.052) 0:01:31.727 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:35 -0400 (0:00:00.060) 0:01:31.788 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:35 -0400 (0:00:00.059) 0:01:31.847 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:36 -0400 (0:00:00.061) 0:01:31.909 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:50:36 -0400 (0:00:00.455) 0:01:32.364 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:50:36 -0400 (0:00:00.064) 0:01:32.429 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:50:36 -0400 (0:00:00.062) 0:01:32.491 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:50:36 -0400 (0:00:00.060) 0:01:32.551 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.448) 0:01:32.999 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.069) 0:01:33.068 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017919", "end": "2024-10-12 13:50:37.519661", "rc": 1, "start": "2024-10-12 13:50:37.501742" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.422) 0:01:33.490 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.060) 0:01:33.551 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.053) 0:01:33.604 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.112) 0:01:33.716 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.074) 0:01:33.791 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:50:37 -0400 (0:00:00.077) 0:01:33.868 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:50:38 -0400 (0:00:00.045) 0:01:33.914 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:50:38 -0400 (0:00:00.107) 0:01:34.021 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:50:38 -0400 (0:00:00.050) 0:01:34.072 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:50:38 -0400 (0:00:00.346) 0:01:34.419 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:50:38 -0400 (0:00:00.037) 0:01:34.456 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:50:38 -0400 (0:00:00.035) 0:01:34.492 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:50:38 -0400 (0:00:00.059) 0:01:34.552 ****** 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.036350", "end": "2024-10-12 13:50:38.997022", "rc": 1, "start": "2024-10-12 13:50:38.960672" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 12 October 2024 13:50:39 -0400 (0:00:00.403) 0:01:34.955 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:50:39 -0400 (0:00:00.092) 0:01:35.048 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:50:39 -0400 (0:00:00.044) 0:01:35.093 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:50:39 -0400 (0:00:00.097) 0:01:35.190 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:50:39 -0400 (0:00:00.161) 0:01:35.352 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:50:39 -0400 (0:00:00.097) 0:01:35.449 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003368", "end": "2024-10-12 13:50:39.962765", "rc": 0, "start": "2024-10-12 13:50:39.959397" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.453) 0:01:35.903 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.048) 0:01:35.951 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.043) 0:01:35.994 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.064) 0:01:36.059 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.070) 0:01:36.129 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.086) 0:01:36.216 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.093) 0:01:36.309 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.043) 0:01:36.353 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:40 -0400 (0:00:00.045) 0:01:36.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 : Check which packages are installed] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:43 -0400 (0:00:02.661) 0:01:39.060 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.884) 0:01:39.945 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.060) 0:01:40.005 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.055) 0:01:40.061 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.056) 0:01:40.118 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.086) 0:01:40.204 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.108) 0:01:40.313 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.093) 0:01:40.407 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.105) 0:01:40.512 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.149) 0:01:40.661 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.059) 0:01:40.720 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:44 -0400 (0:00:00.058) 0:01:40.779 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:45 -0400 (0:00:00.103) 0:01:40.882 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:45 -0400 (0:00:00.650) 0:01:41.533 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:45 -0400 (0:00:00.103) 0:01:41.636 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:45 -0400 (0:00:00.058) 0:01:41.695 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:45 -0400 (0:00:00.059) 0:01:41.755 ****** 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, c44fc4d5-2d07-4579-acae-2abf05ad8ab9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:46 -0400 (0:00:00.892) 0:01:42.647 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:46 -0400 (0:00:00.115) 0:01:42.763 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c44fc4d5-2d07-4579-acae-2abf05ad8ab9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:46 -0400 (0:00:00.068) 0:01:42.831 ****** 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, c44fc4d5-2d07-4579-acae-2abf05ad8ab9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c44fc4d5-2d07-4579-acae-2abf05ad8ab9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.074) 0:01:42.906 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.077) 0:01:42.984 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.430) 0:01:43.415 ****** 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, c44fc4d5-2d07-4579-acae-2abf05ad8ab9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c44fc4d5-2d07-4579-acae-2abf05ad8ab9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.046) 0:01:43.462 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.084) 0:01:43.546 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.074) 0:01:43.621 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.059) 0:01:43.681 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.036) 0:01:43.717 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:47 -0400 (0:00:00.037) 0:01:43.755 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:49 -0400 (0:00:01.612) 0:01:45.368 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.987) 0:01:46.356 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.057) 0:01:46.413 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.050) 0:01:46.464 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.043) 0:01:46.507 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.065) 0:01:46.572 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.064) 0:01:46.636 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.057) 0:01:46.694 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.062) 0:01:46.757 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:50 -0400 (0:00:00.099) 0:01:46.856 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:51 -0400 (0:00:00.046) 0:01:46.902 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:51 -0400 (0:00:00.041) 0:01:46.944 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:51 -0400 (0:00:00.107) 0:01:47.051 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:51 -0400 (0:00:00.709) 0:01:47.761 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:51 -0400 (0:00:00.074) 0:01:47.836 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:52 -0400 (0:00:00.041) 0:01:47.877 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:52 -0400 (0:00:00.046) 0:01:47.924 ****** 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, c44fc4d5-2d07-4579-acae-2abf05ad8ab9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:52 -0400 (0:00:00.614) 0:01:48.538 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:52 -0400 (0:00:00.109) 0:01:48.649 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c44fc4d5-2d07-4579-acae-2abf05ad8ab9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:52 -0400 (0:00:00.080) 0:01:48.729 ****** 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, c44fc4d5-2d07-4579-acae-2abf05ad8ab9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c44fc4d5-2d07-4579-acae-2abf05ad8ab9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:52 -0400 (0:00:00.140) 0:01:48.870 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:53 -0400 (0:00:00.038) 0:01:48.908 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:50:53 -0400 (0:00:00.386) 0:01:49.295 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:53 -0400 (0:00:00.069) 0:01:49.365 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:53 -0400 (0:00:00.063) 0:01:49.429 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:53 -0400 (0:00:00.083) 0:01:49.512 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:53 -0400 (0:00:00.062) 0:01:49.575 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:53 -0400 (0:00:00.067) 0:01:49.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 : Check which packages are installed] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:50:55 -0400 (0:00:01.694) 0:01:51.336 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.786) 0:01:52.123 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.036) 0:01:52.159 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.045) 0:01:52.205 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.102) 0:01:52.307 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.068) 0:01:52.375 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.071) 0:01:52.446 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.052) 0:01:52.498 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.064) 0:01:52.563 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.086) 0:01:52.649 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.031) 0:01:52.681 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.032) 0:01:52.713 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:50:56 -0400 (0:00:00.070) 0:01:52.783 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:50:57 -0400 (0:00:00.582) 0:01:53.366 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:50:57 -0400 (0:00:00.060) 0:01:53.427 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:50:57 -0400 (0:00:00.030) 0:01:53.458 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:50:57 -0400 (0:00:00.032) 0:01:53.490 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:50:58 -0400 (0:00:00.599) 0:01:54.090 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:50:58 -0400 (0:00:00.079) 0:01:54.169 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:50:58 -0400 (0:00:00.072) 0:01:54.242 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:50:58 -0400 (0:00:00.060) 0:01:54.302 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:50:58 -0400 (0:00:00.054) 0:01:54.356 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:50:58 -0400 (0:00:00.508) 0:01:54.865 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:50:59 -0400 (0:00:00.110) 0:01:54.976 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:50:59 -0400 (0:00:00.116) 0:01:55.092 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:50:59 -0400 (0:00:00.084) 0:01:55.177 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:50:59 -0400 (0:00:00.057) 0:01:55.235 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:50:59 -0400 (0:00:00.037) 0:01:55.273 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:50:59 -0400 (0:00:00.036) 0:01:55.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 : Check which packages are installed] *** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:51:02 -0400 (0:00:02.630) 0:01:57.940 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:51:02 -0400 (0:00:00.870) 0:01:58.810 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.071) 0:01:58.881 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.059) 0:01:58.940 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.037) 0:01:58.978 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.099) 0:01:59.077 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.063) 0:01:59.141 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.057) 0:01:59.198 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.065) 0:01:59.264 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.138) 0:01:59.402 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.058) 0:01:59.460 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.056) 0:01:59.517 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:51:03 -0400 (0:00:00.089) 0:01:59.607 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:51:04 -0400 (0:00:00.608) 0:02:00.215 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:51:04 -0400 (0:00:00.100) 0:02:00.316 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:51:04 -0400 (0:00:00.054) 0:02:00.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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:51:04 -0400 (0:00:00.055) 0:02:00.425 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.593) 0:02:01.018 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.040) 0:02:01.058 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.050) 0:02:01.109 ****** 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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.046) 0:02:01.155 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.031) 0:02:01.186 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.354) 0:02:01.541 ****** included: /tmp/collections-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.120) 0:02:01.661 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.082) 0:02:01.744 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:51:05 -0400 (0:00:00.056) 0:02:01.801 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.387) 0:02:02.188 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.037) 0:02:02.226 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017901", "end": "2024-10-12 13:51:06.654445", "rc": 1, "start": "2024-10-12 13:51:06.636544" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.365) 0:02:02.591 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.035) 0:02:02.626 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.033) 0:02:02.660 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.034) 0:02:02.694 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.033) 0:02:02.728 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.034) 0:02:02.762 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 12 October 2024 13:51:06 -0400 (0:00:00.048) 0:02:02.810 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.229991", "end": "2024-10-12 13:51:07.471531", "rc": 0, "start": "2024-10-12 13:51:07.241540" } STDOUT: NetworkManager-1.51.2-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 12 October 2024 13:51:07 -0400 (0:00:00.594) 0:02:03.405 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.2-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 12 October 2024 13:51:07 -0400 (0:00:00.038) 0:02:03.444 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.51.2-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:51:07 -0400 (0:00:00.037) 0:02:03.481 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:51:07 -0400 (0:00:00.130) 0:02:03.611 ****** included: /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:51:07 -0400 (0:00:00.065) 0:02:03.677 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:51:08 -0400 (0:00:00.363) 0:02:04.040 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:51:08 -0400 (0:00:00.062) 0:02:04.102 ****** 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:51:08 -0400 (0:00:00.060) 0:02:04.162 ****** included: /tmp/collections-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:51:08 -0400 (0:00:00.112) 0:02:04.275 ****** 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.035415", "end": "2024-10-12 13:51:08.743701", "rc": 1, "start": "2024-10-12 13:51:08.708286" } 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 12 October 2024 13:51:08 -0400 (0:00:00.405) 0:02:04.681 ****** 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.008288", "end": "2024-10-12 13:51:09.114034", "rc": 0, "start": "2024-10-12 13:51:09.105746" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:e5:c2:69:55 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.60/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3025sec preferred_lft 3025sec inet6 fe80::8ff:e5ff:fec2:6955/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.60 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.60 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-D09/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 12 October 2024 13:51:09 -0400 (0:00:00.373) 0:02:05.055 ****** 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.234040", "end": "2024-10-12 13:51:09.695021", "rc": 0, "start": "2024-10-12 13:51:09.460981" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 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 2541 0 --:--:-- --:--:-- --:--:-- 2541 % 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 3344 0 --:--:-- --:--:-- --:--:-- 3344 PLAY RECAP ********************************************************************* managed-node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 12 October 2024 13:51:09 -0400 (0:00:00.675) 0:02:05.730 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.76s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.70s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.68s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.66s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.63s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-D09/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-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-D09/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-D09/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-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.12s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/collections-D09/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-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.91s /tmp/collections-D09/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26