ansible-playbook [core 2.17.4] 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-cI5 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-cI5/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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Friday 04 October 2024 09:58:15 -0400 (0:00:00.017) 0:00:00.017 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Friday 04 October 2024 09:58:16 -0400 (0:00:01.171) 0:00:01.189 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 09:58:16 -0400 (0:00:00.023) 0:00:01.213 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 09:58:17 -0400 (0:00:00.520) 0:00:01.733 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 09:58:17 -0400 (0:00:00.433) 0:00:02.167 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 09:58:17 -0400 (0:00:00.024) 0:00:02.191 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 09:58:17 -0400 (0:00:00.019) 0:00:02.211 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 09:58:17 -0400 (0:00:00.052) 0:00:02.263 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 09:58:17 -0400 (0:00:00.013) 0:00:02.276 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 09:58:17 -0400 (0:00:00.012) 0:00:02.288 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 09:58:17 -0400 (0:00:00.012) 0:00:02.301 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 09:58:17 -0400 (0:00:00.011) 0:00:02.313 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Friday 04 October 2024 09:58:17 -0400 (0:00:00.013) 0:00:02.327 ******** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 04 October 2024 09:58:17 -0400 (0:00:00.032) 0:00:02.359 ******** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 04 October 2024 09:58:18 -0400 (0:00:00.978) 0:00:03.338 ******** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 04 October 2024 09:58:18 -0400 (0:00:00.041) 0:00:03.379 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 09:58:19 -0400 (0:00:00.075) 0:00:03.454 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 09:58:19 -0400 (0:00:00.045) 0:00:03.500 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 09:58:19 -0400 (0:00:00.125) 0:00:03.625 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:58:19 -0400 (0:00:00.026) 0:00:03.651 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:58:19 -0400 (0:00:00.023) 0:00:03.675 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003646", "end": "2024-10-04 09:58:19.659166", "rc": 0, "start": "2024-10-04 09:58:19.655520" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:58:19 -0400 (0:00:00.431) 0:00:04.107 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:58:19 -0400 (0:00:00.027) 0:00:04.135 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 09:58:19 -0400 (0:00:00.025) 0:00:04.160 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 09:58:19 -0400 (0:00:00.042) 0:00:04.203 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007804", "end": "2024-10-04 09:58:20.137569", "rc": 1, "start": "2024-10-04 09:58:20.129765" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:58:20 -0400 (0:00:00.395) 0:00:04.598 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:58:20 -0400 (0:00:00.031) 0:00:04.630 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:58:20 -0400 (0:00:00.366) 0:00:04.996 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 09:58:20 -0400 (0:00:00.025) 0:00:05.021 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 09:58:20 -0400 (0:00:00.041) 0:00:05.063 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:58:20 -0400 (0:00:00.066) 0:00:05.129 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:58:20 -0400 (0:00:00.052) 0:00:05.181 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:58:20 -0400 (0:00:00.055) 0:00:05.237 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:58:20 -0400 (0:00:00.033) 0:00:05.270 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:58:20 -0400 (0:00:00.022) 0:00:05.292 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:58:22 -0400 (0:00:01.990) 0:00:07.282 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:58:24 -0400 (0:00:01.141) 0:00:08.424 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:58:24 -0400 (0:00:00.059) 0:00:08.483 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:58:24 -0400 (0:00:00.069) 0:00:08.552 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:58:24 -0400 (0:00:00.045) 0:00:08.597 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:58:24 -0400 (0:00:00.063) 0:00:08.661 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:58:24 -0400 (0:00:00.068) 0:00:08.730 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:58:24 -0400 (0:00:00.046) 0:00:08.776 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:58:24 -0400 (0:00:00.074) 0:00:08.851 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:58:24 -0400 (0:00:00.158) 0:00:09.009 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:58:24 -0400 (0:00:00.048) 0:00:09.058 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:58:24 -0400 (0:00:00.047) 0:00:09.105 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:58:24 -0400 (0:00:00.084) 0:00:09.190 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:58:25 -0400 (0:00:00.743) 0:00:09.934 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:58:25 -0400 (0:00:00.056) 0:00:09.990 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:58:25 -0400 (0:00:00.028) 0:00:10.018 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:58:25 -0400 (0:00:00.028) 0:00:10.047 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79324d23-8319-45b5-8e54-f0d14b8dbcb9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:58:26 -0400 (0:00:00.777) 0:00:10.825 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:58:26 -0400 (0:00:00.029) 0:00:10.855 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79324d23-8319-45b5-8e54-f0d14b8dbcb9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:58:26 -0400 (0:00:00.033) 0:00:10.889 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79324d23-8319-45b5-8e54-f0d14b8dbcb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79324d23-8319-45b5-8e54-f0d14b8dbcb9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:58:26 -0400 (0:00:00.033) 0:00:10.922 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:58:26 -0400 (0:00:00.028) 0:00:10.951 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 09:58:27 -0400 (0:00:00.523) 0:00:11.474 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79324d23-8319-45b5-8e54-f0d14b8dbcb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79324d23-8319-45b5-8e54-f0d14b8dbcb9" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 09:58:27 -0400 (0:00:00.063) 0:00:11.537 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 09:58:27 -0400 (0:00:00.129) 0:00:11.666 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 09:58:27 -0400 (0:00:00.137) 0:00:11.804 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 09:58:27 -0400 (0:00:00.055) 0:00:11.859 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 09:58:27 -0400 (0:00:00.440) 0:00:12.300 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 09:58:27 -0400 (0:00:00.048) 0:00:12.349 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018762", "end": "2024-10-04 09:58:28.273078", "rc": 0, "start": "2024-10-04 09:58:28.254316" } 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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 09:58:28 -0400 (0:00:00.386) 0:00:12.736 ******** ok: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 09:58:28 -0400 (0:00:00.035) 0:00:12.771 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 09:58:28 -0400 (0:00:00.030) 0:00:12.802 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 09:58:28 -0400 (0:00:00.037) 0:00:12.839 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 09:58:28 -0400 (0:00:00.050) 0:00:12.890 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 09:58:28 -0400 (0:00:00.057) 0:00:12.947 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 09:58:28 -0400 (0:00:00.069) 0:00:13.017 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 09:58:28 -0400 (0:00:00.098) 0:00:13.115 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 09:58:28 -0400 (0:00:00.101) 0:00:13.217 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:58:28 -0400 (0:00:00.129) 0:00:13.346 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:58:29 -0400 (0:00:00.118) 0:00:13.465 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050306.3234353, "block_size": 4096, "blocks": 0, "ctime": 1728050306.3234353, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29989, "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": 1728050306.3234353, "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:58:29 -0400 (0:00:00.368) 0:00:13.834 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 09:58:29 -0400 (0:00:00.033) 0:00:13.867 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 09:58:29 -0400 (0:00:00.082) 0:00:13.950 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 09:58:29 -0400 (0:00:00.094) 0:00:14.045 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057976", "end": "2024-10-04 09:58:30.015903", "rc": 1, "start": "2024-10-04 09:58:29.957927" } STDOUT: Connection 'statebr' (79324d23-8319-45b5-8e54-f0d14b8dbcb9) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 04 October 2024 09:58:30 -0400 (0:00:00.430) 0:00:14.475 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 09:58:30 -0400 (0:00:00.083) 0:00:14.559 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 09:58:30 -0400 (0:00:00.054) 0:00:14.613 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 09:58:30 -0400 (0:00:00.104) 0:00:14.718 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:58:30 -0400 (0:00:00.090) 0:00:14.809 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:58:30 -0400 (0:00:00.060) 0:00:14.869 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004506", "end": "2024-10-04 09:58:31.763835", "rc": 0, "start": "2024-10-04 09:58:30.759329" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:58:31 -0400 (0:00:01.412) 0:00:16.282 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:58:31 -0400 (0:00:00.070) 0:00:16.353 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 09:58:32 -0400 (0:00:00.065) 0:00:16.419 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 09:58:32 -0400 (0:00:00.118) 0:00:16.537 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007075", "end": "2024-10-04 09:58:32.462194", "rc": 1, "start": "2024-10-04 09:58:32.455119" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:58:32 -0400 (0:00:00.417) 0:00:16.955 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:58:32 -0400 (0:00:00.176) 0:00:17.131 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:58:33 -0400 (0:00:00.389) 0:00:17.521 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 09:58:33 -0400 (0:00:00.037) 0:00:17.559 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 04 October 2024 09:58:33 -0400 (0:00:00.076) 0:00:17.635 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:58:33 -0400 (0:00:00.118) 0:00:17.754 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:58:33 -0400 (0:00:00.129) 0:00:17.883 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:58:33 -0400 (0:00:00.133) 0:00:18.016 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:58:33 -0400 (0:00:00.056) 0:00:18.073 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:58:33 -0400 (0:00:00.056) 0:00:18.130 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:58:35 -0400 (0:00:01.911) 0:00:20.041 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:58:36 -0400 (0:00:00.850) 0:00:20.891 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:58:36 -0400 (0:00:00.210) 0:00:21.102 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:58:36 -0400 (0:00:00.044) 0:00:21.147 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:58:36 -0400 (0:00:00.034) 0:00:21.182 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:58:36 -0400 (0:00:00.083) 0:00:21.265 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:58:36 -0400 (0:00:00.063) 0:00:21.328 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:58:36 -0400 (0:00:00.048) 0:00:21.377 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:58:37 -0400 (0:00:00.057) 0:00:21.434 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:58:37 -0400 (0:00:00.121) 0:00:21.556 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:58:37 -0400 (0:00:00.048) 0:00:21.604 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:58:37 -0400 (0:00:00.050) 0:00:21.655 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:58:37 -0400 (0:00:00.093) 0:00:21.748 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:58:38 -0400 (0:00:00.646) 0:00:22.394 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:58:38 -0400 (0:00:00.076) 0:00:22.471 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:58:38 -0400 (0:00:00.039) 0:00:22.510 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:58:38 -0400 (0:00:00.049) 0:00:22.560 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be840356-cf20-4dcf-a786-0d5ee245f9aa TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:58:38 -0400 (0:00:00.582) 0:00:23.142 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:58:38 -0400 (0:00:00.070) 0:00:23.213 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be840356-cf20-4dcf-a786-0d5ee245f9aa" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:58:38 -0400 (0:00:00.054) 0:00:23.268 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be840356-cf20-4dcf-a786-0d5ee245f9aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be840356-cf20-4dcf-a786-0d5ee245f9aa" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:58:38 -0400 (0:00:00.056) 0:00:23.324 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:58:39 -0400 (0:00:00.108) 0:00:23.433 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 04 October 2024 09:58:39 -0400 (0:00:00.420) 0:00:23.853 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be840356-cf20-4dcf-a786-0d5ee245f9aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be840356-cf20-4dcf-a786-0d5ee245f9aa" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 09:58:39 -0400 (0:00:00.040) 0:00:23.894 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:58:39 -0400 (0:00:00.057) 0:00:23.952 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:58:39 -0400 (0:00:00.045) 0:00:23.997 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:58:39 -0400 (0:00:00.364) 0:00:24.362 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 09:58:40 -0400 (0:00:00.054) 0:00:24.417 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 09:58:40 -0400 (0:00:00.090) 0:00:24.507 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 09:58:40 -0400 (0:00:00.053) 0:00:24.561 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 09:58:40 -0400 (0:00:00.397) 0:00:24.958 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 09:58:40 -0400 (0:00:00.094) 0:00:25.053 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017957", "end": "2024-10-04 09:58:40.989740", "rc": 0, "start": "2024-10-04 09:58:40.971783" } 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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 09:58:41 -0400 (0:00:00.429) 0:00:25.483 ******** ok: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 09:58:41 -0400 (0:00:00.033) 0:00:25.516 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 09:58:41 -0400 (0:00:00.029) 0:00:25.546 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 09:58:41 -0400 (0:00:00.029) 0:00:25.575 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 09:58:41 -0400 (0:00:00.059) 0:00:25.635 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 09:58:41 -0400 (0:00:00.031) 0:00:25.666 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 09:58:41 -0400 (0:00:00.033) 0:00:25.699 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 09:58:41 -0400 (0:00:00.034) 0:00:25.734 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 09:58:41 -0400 (0:00:00.031) 0:00:25.765 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 09:58:41 -0400 (0:00:00.046) 0:00:25.812 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 09:58:41 -0400 (0:00:00.031) 0:00:25.843 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 09:58:41 -0400 (0:00:00.054) 0:00:25.897 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036645", "end": "2024-10-04 09:58:41.842533", "rc": 1, "start": "2024-10-04 09:58:41.805888" } STDOUT: Connection 'statebr' (be840356-cf20-4dcf-a786-0d5ee245f9aa) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 04 October 2024 09:58:41 -0400 (0:00:00.422) 0:00:26.320 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 09:58:42 -0400 (0:00:00.094) 0:00:26.415 ******** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 09:58:42 -0400 (0:00:00.066) 0:00:26.481 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 09:58:42 -0400 (0:00:00.136) 0:00:26.618 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:58:42 -0400 (0:00:00.156) 0:00:26.774 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:58:42 -0400 (0:00:00.081) 0:00:26.856 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003431", "end": "2024-10-04 09:58:42.772169", "rc": 0, "start": "2024-10-04 09:58:42.768738" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:58:42 -0400 (0:00:00.465) 0:00:27.321 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:58:43 -0400 (0:00:00.082) 0:00:27.404 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 09:58:43 -0400 (0:00:00.057) 0:00:27.461 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 09:58:43 -0400 (0:00:00.120) 0:00:27.582 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:58:43 -0400 (0:00:00.112) 0:00:27.694 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:58:43 -0400 (0:00:00.100) 0:00:27.795 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:58:43 -0400 (0:00:00.071) 0:00:27.866 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:58:43 -0400 (0:00:00.035) 0:00:27.901 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:58:43 -0400 (0:00:00.033) 0:00:27.935 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:58:46 -0400 (0:00:02.906) 0:00:30.842 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:58:47 -0400 (0:00:00.761) 0:00:31.603 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:58:47 -0400 (0:00:00.033) 0:00:31.637 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:58:47 -0400 (0:00:00.067) 0:00:31.704 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:58:47 -0400 (0:00:00.030) 0:00:31.735 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:58:47 -0400 (0:00:00.060) 0:00:31.795 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:58:47 -0400 (0:00:00.056) 0:00:31.852 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:58:47 -0400 (0:00:00.050) 0:00:31.902 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:58:47 -0400 (0:00:00.056) 0:00:31.959 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:58:47 -0400 (0:00:00.092) 0:00:32.052 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:58:47 -0400 (0:00:00.035) 0:00:32.087 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:58:47 -0400 (0:00:00.033) 0:00:32.121 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:58:47 -0400 (0:00:00.074) 0:00:32.196 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:58:48 -0400 (0:00:00.624) 0:00:32.821 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:58:48 -0400 (0:00:00.075) 0:00:32.896 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:58:48 -0400 (0:00:00.049) 0:00:32.946 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:58:48 -0400 (0:00:00.047) 0:00:32.993 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:58:49 -0400 (0:00:00.588) 0:00:33.581 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:58:49 -0400 (0:00:00.048) 0:00:33.630 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:58:49 -0400 (0:00:00.052) 0:00:33.682 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:58:49 -0400 (0:00:00.054) 0:00:33.737 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:58:49 -0400 (0:00:00.045) 0:00:33.782 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 09:58:49 -0400 (0:00:00.464) 0:00:34.247 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 09:58:49 -0400 (0:00:00.060) 0:00:34.307 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 09:58:50 -0400 (0:00:00.090) 0:00:34.398 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:58:50 -0400 (0:00:00.137) 0:00:34.535 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:58:50 -0400 (0:00:00.142) 0:00:34.678 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:58:50 -0400 (0:00:00.135) 0:00:34.813 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:58:50 -0400 (0:00:00.074) 0:00:34.888 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:58:50 -0400 (0:00:00.061) 0:00:34.950 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:58:52 -0400 (0:00:01.974) 0:00:36.924 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:58:53 -0400 (0:00:00.822) 0:00:37.747 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:58:53 -0400 (0:00:00.066) 0:00:37.813 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:58:53 -0400 (0:00:00.124) 0:00:37.938 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:58:53 -0400 (0:00:00.056) 0:00:37.994 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:58:53 -0400 (0:00:00.096) 0:00:38.090 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:58:53 -0400 (0:00:00.103) 0:00:38.194 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:58:53 -0400 (0:00:00.086) 0:00:38.280 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:58:53 -0400 (0:00:00.093) 0:00:38.373 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:58:54 -0400 (0:00:00.177) 0:00:38.551 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:58:54 -0400 (0:00:00.100) 0:00:38.651 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:58:54 -0400 (0:00:00.059) 0:00:38.711 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:58:54 -0400 (0:00:00.127) 0:00:38.838 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:58:55 -0400 (0:00:00.606) 0:00:39.444 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:58:55 -0400 (0:00:00.055) 0:00:39.500 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:58:55 -0400 (0:00:00.034) 0:00:39.535 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:58:55 -0400 (0:00:00.041) 0:00:39.576 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:58:55 -0400 (0:00:00.694) 0:00:40.270 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:58:55 -0400 (0:00:00.031) 0:00:40.302 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:58:55 -0400 (0:00:00.032) 0:00:40.334 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4df48eb8-b003-4b38-9a90-21c747cc4a4f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:58:55 -0400 (0:00:00.034) 0:00:40.368 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:58:56 -0400 (0:00:00.028) 0:00:40.397 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 09:58:56 -0400 (0:00:00.449) 0:00:40.846 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:58:56 -0400 (0:00:00.092) 0:00:40.939 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:58:56 -0400 (0:00:00.095) 0:00:41.035 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050329.0587783, "block_size": 4096, "blocks": 0, "ctime": 1728050329.0587783, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30114, "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": 1728050329.0587783, "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:58:57 -0400 (0:00:00.406) 0:00:41.441 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 09:58:57 -0400 (0:00:00.067) 0:00:41.509 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 09:58:57 -0400 (0:00:00.122) 0:00:41.631 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 09:58:57 -0400 (0:00:00.043) 0:00:41.675 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 09:58:57 -0400 (0:00:00.378) 0:00:42.053 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 09:58:57 -0400 (0:00:00.034) 0:00:42.088 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017860", "end": "2024-10-04 09:58:58.034748", "rc": 0, "start": "2024-10-04 09:58:58.016888" } 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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 09:58:58 -0400 (0:00:00.403) 0:00:42.492 ******** ok: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 09:58:58 -0400 (0:00:00.034) 0:00:42.526 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 09:58:58 -0400 (0:00:00.038) 0:00:42.565 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 09:58:58 -0400 (0:00:00.040) 0:00:42.605 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 09:58:58 -0400 (0:00:00.034) 0:00:42.639 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 09:58:58 -0400 (0:00:00.038) 0:00:42.678 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 09:58:58 -0400 (0:00:00.074) 0:00:42.753 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 09:58:58 -0400 (0:00:00.044) 0:00:42.798 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 09:58:58 -0400 (0:00:00.061) 0:00:42.859 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 09:58:58 -0400 (0:00:00.067) 0:00:42.927 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 09:58:58 -0400 (0:00:00.052) 0:00:42.979 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 09:58:58 -0400 (0:00:00.064) 0:00:43.044 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.058553", "end": "2024-10-04 09:58:58.996399", "rc": 1, "start": "2024-10-04 09:58:58.937846" } STDOUT: Connection 'statebr' (4df48eb8-b003-4b38-9a90-21c747cc4a4f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 04 October 2024 09:58:59 -0400 (0:00:00.410) 0:00:43.454 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 09:58:59 -0400 (0:00:00.077) 0:00:43.532 ******** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 09:58:59 -0400 (0:00:00.042) 0:00:43.574 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 09:58:59 -0400 (0:00:00.091) 0:00:43.666 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:58:59 -0400 (0:00:00.065) 0:00:43.732 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:58:59 -0400 (0:00:00.048) 0:00:43.781 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003403", "end": "2024-10-04 09:58:59.691386", "rc": 0, "start": "2024-10-04 09:58:59.687983" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:58:59 -0400 (0:00:00.364) 0:00:44.146 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:58:59 -0400 (0:00:00.032) 0:00:44.179 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 09:58:59 -0400 (0:00:00.069) 0:00:44.249 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 09:58:59 -0400 (0:00:00.103) 0:00:44.352 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:00 -0400 (0:00:00.143) 0:00:44.496 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:00 -0400 (0:00:00.089) 0:00:44.585 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:00 -0400 (0:00:00.063) 0:00:44.649 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:00 -0400 (0:00:00.045) 0:00:44.695 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:00 -0400 (0:00:00.057) 0:00:44.752 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:02 -0400 (0:00:01.904) 0:00:46.657 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:03 -0400 (0:00:00.738) 0:00:47.396 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:03 -0400 (0:00:00.037) 0:00:47.434 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:03 -0400 (0:00:00.031) 0:00:47.465 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:03 -0400 (0:00:00.030) 0:00:47.496 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:03 -0400 (0:00:00.097) 0:00:47.594 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:03 -0400 (0:00:00.059) 0:00:47.653 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:03 -0400 (0:00:00.052) 0:00:47.705 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:03 -0400 (0:00:00.057) 0:00:47.763 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:03 -0400 (0:00:00.084) 0:00:47.847 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:03 -0400 (0:00:00.033) 0:00:47.880 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:03 -0400 (0:00:00.043) 0:00:47.924 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:03 -0400 (0:00:00.088) 0:00:48.013 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:04 -0400 (0:00:00.791) 0:00:48.804 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:04 -0400 (0:00:00.190) 0:00:48.994 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:04 -0400 (0:00:00.103) 0:00:49.098 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:04 -0400 (0:00:00.056) 0:00:49.155 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:05 -0400 (0:00:00.780) 0:00:49.935 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:05 -0400 (0:00:00.030) 0:00:49.965 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:05 -0400 (0:00:00.034) 0:00:50.000 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:05 -0400 (0:00:00.035) 0:00:50.035 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:05 -0400 (0:00:00.029) 0:00:50.065 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 09:59:06 -0400 (0:00:00.432) 0:00:50.497 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 09:59:06 -0400 (0:00:00.162) 0:00:50.660 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:06 -0400 (0:00:00.109) 0:00:50.770 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:06 -0400 (0:00:00.066) 0:00:50.836 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:06 -0400 (0:00:00.054) 0:00:50.890 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:06 -0400 (0:00:00.036) 0:00:50.927 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:06 -0400 (0:00:00.034) 0:00:50.961 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:08 -0400 (0:00:01.890) 0:00:52.851 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:09 -0400 (0:00:00.823) 0:00:53.675 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:09 -0400 (0:00:00.084) 0:00:53.759 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:09 -0400 (0:00:00.068) 0:00:53.827 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:09 -0400 (0:00:00.064) 0:00:53.891 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:09 -0400 (0:00:00.112) 0:00:54.004 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:09 -0400 (0:00:00.067) 0:00:54.071 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:09 -0400 (0:00:00.096) 0:00:54.168 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:09 -0400 (0:00:00.107) 0:00:54.275 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:10 -0400 (0:00:00.172) 0:00:54.447 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:10 -0400 (0:00:00.063) 0:00:54.511 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:10 -0400 (0:00:00.061) 0:00:54.573 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:10 -0400 (0:00:00.083) 0:00:54.656 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:10 -0400 (0:00:00.621) 0:00:55.277 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:11 -0400 (0:00:00.171) 0:00:55.449 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:11 -0400 (0:00:00.066) 0:00:55.515 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:11 -0400 (0:00:00.079) 0:00:55.595 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:11 -0400 (0:00:00.585) 0:00:56.180 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:11 -0400 (0:00:00.029) 0:00:56.210 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:11 -0400 (0:00:00.033) 0:00:56.243 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04ec7a99-a978-472f-b7b9-94ba0b8a1148 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:11 -0400 (0:00:00.032) 0:00:56.276 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:11 -0400 (0:00:00.029) 0:00:56.306 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 09:59:12 -0400 (0:00:00.363) 0:00:56.669 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 09:59:12 -0400 (0:00:00.054) 0:00:56.723 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:12 -0400 (0:00:00.103) 0:00:56.827 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:12 -0400 (0:00:00.059) 0:00:56.886 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:12 -0400 (0:00:00.054) 0:00:56.941 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:12 -0400 (0:00:00.034) 0:00:56.975 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:12 -0400 (0:00:00.034) 0:00:57.010 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:14 -0400 (0:00:01.917) 0:00:58.928 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:15 -0400 (0:00:00.785) 0:00:59.713 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:15 -0400 (0:00:00.056) 0:00:59.770 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:15 -0400 (0:00:00.053) 0:00:59.823 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:15 -0400 (0:00:00.044) 0:00:59.868 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:15 -0400 (0:00:00.067) 0:00:59.936 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:15 -0400 (0:00:00.077) 0:01:00.013 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:15 -0400 (0:00:00.077) 0:01:00.091 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:15 -0400 (0:00:00.144) 0:01:00.235 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:15 -0400 (0:00:00.134) 0:01:00.370 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:16 -0400 (0:00:00.051) 0:01:00.421 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:16 -0400 (0:00:00.055) 0:01:00.477 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:16 -0400 (0:00:00.137) 0:01:00.615 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:16 -0400 (0:00:00.711) 0:01:01.326 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:17 -0400 (0:00:00.095) 0:01:01.422 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:17 -0400 (0:00:00.051) 0:01:01.474 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:17 -0400 (0:00:00.050) 0:01:01.524 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:17 -0400 (0:00:00.611) 0:01:02.135 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:17 -0400 (0:00:00.066) 0:01:02.202 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:17 -0400 (0:00:00.072) 0:01:02.274 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:17 -0400 (0:00:00.064) 0:01:02.339 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:17 -0400 (0:00:00.033) 0:01:02.373 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 09:59:18 -0400 (0:00:00.434) 0:01:02.807 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:59:18 -0400 (0:00:00.139) 0:01:02.947 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:59:18 -0400 (0:00:00.168) 0:01:03.115 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050345.4310434, "block_size": 4096, "blocks": 0, "ctime": 1728050345.4310434, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30239, "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": 1728050345.4310434, "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:59:19 -0400 (0:00:00.376) 0:01:03.492 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 09:59:19 -0400 (0:00:00.075) 0:01:03.568 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 09:59:19 -0400 (0:00:00.101) 0:01:03.669 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 09:59:19 -0400 (0:00:00.053) 0:01:03.722 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 09:59:19 -0400 (0:00:00.405) 0:01:04.128 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 09:59:19 -0400 (0:00:00.029) 0:01:04.158 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018011", "end": "2024-10-04 09:59:20.071442", "rc": 1, "start": "2024-10-04 09:59:20.053431" } 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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 09:59:20 -0400 (0:00:00.369) 0:01:04.527 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 09:59:20 -0400 (0:00:00.038) 0:01:04.566 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 09:59:20 -0400 (0:00:00.050) 0:01:04.617 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 09:59:20 -0400 (0:00:00.052) 0:01:04.669 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 09:59:20 -0400 (0:00:00.052) 0:01:04.722 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 09:59:20 -0400 (0:00:00.067) 0:01:04.789 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 09:59:20 -0400 (0:00:00.089) 0:01:04.879 ******** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 09:59:20 -0400 (0:00:00.128) 0:01:05.007 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 09:59:20 -0400 (0:00:00.076) 0:01:05.084 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 09:59:20 -0400 (0:00:00.187) 0:01:05.271 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055390", "end": "2024-10-04 09:59:21.221628", "rc": 0, "start": "2024-10-04 09:59:21.166238" } STDOUT: Connection 'statebr' (04ec7a99-a978-472f-b7b9-94ba0b8a1148) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 04 October 2024 09:59:21 -0400 (0:00:00.416) 0:01:05.688 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 09:59:21 -0400 (0:00:00.054) 0:01:05.743 ******** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 09:59:21 -0400 (0:00:00.033) 0:01:05.777 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 09:59:21 -0400 (0:00:00.065) 0:01:05.842 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:59:21 -0400 (0:00:00.048) 0:01:05.891 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:59:21 -0400 (0:00:00.084) 0:01:05.975 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003358", "end": "2024-10-04 09:59:21.900953", "rc": 0, "start": "2024-10-04 09:59:21.897595" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:59:21 -0400 (0:00:00.401) 0:01:06.377 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:59:22 -0400 (0:00:00.078) 0:01:06.456 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 09:59:22 -0400 (0:00:00.069) 0:01:06.525 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 09:59:22 -0400 (0:00:00.098) 0:01:06.623 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:22 -0400 (0:00:00.091) 0:01:06.715 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:22 -0400 (0:00:00.193) 0:01:06.908 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:22 -0400 (0:00:00.091) 0:01:06.999 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:22 -0400 (0:00:00.077) 0:01:07.076 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:22 -0400 (0:00:00.064) 0:01:07.141 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:24 -0400 (0:00:01.946) 0:01:09.087 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:25 -0400 (0:00:00.823) 0:01:09.911 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:25 -0400 (0:00:00.058) 0:01:09.969 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:25 -0400 (0:00:00.052) 0:01:10.022 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:25 -0400 (0:00:00.082) 0:01:10.104 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:25 -0400 (0:00:00.110) 0:01:10.215 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:25 -0400 (0:00:00.096) 0:01:10.312 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:26 -0400 (0:00:00.085) 0:01:10.397 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:26 -0400 (0:00:00.094) 0:01:10.492 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:26 -0400 (0:00:00.136) 0:01:10.628 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:26 -0400 (0:00:00.052) 0:01:10.681 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:26 -0400 (0:00:00.052) 0:01:10.734 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:26 -0400 (0:00:00.297) 0:01:11.031 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:27 -0400 (0:00:00.769) 0:01:11.801 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:27 -0400 (0:00:00.060) 0:01:11.861 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:27 -0400 (0:00:00.048) 0:01:11.910 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:27 -0400 (0:00:00.035) 0:01:11.945 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:28 -0400 (0:00:00.592) 0:01:12.538 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:28 -0400 (0:00:00.066) 0:01:12.605 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:28 -0400 (0:00:00.058) 0:01:12.664 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:28 -0400 (0:00:00.060) 0:01:12.724 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:28 -0400 (0:00:00.050) 0:01:12.774 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 09:59:28 -0400 (0:00:00.448) 0:01:13.223 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 09:59:28 -0400 (0:00:00.052) 0:01:13.275 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:28 -0400 (0:00:00.077) 0:01:13.353 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:29 -0400 (0:00:00.075) 0:01:13.429 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:29 -0400 (0:00:00.059) 0:01:13.488 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:29 -0400 (0:00:00.104) 0:01:13.592 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:29 -0400 (0:00:00.059) 0:01:13.652 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:31 -0400 (0:00:01.864) 0:01:15.516 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:31 -0400 (0:00:00.792) 0:01:16.308 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:32 -0400 (0:00:00.113) 0:01:16.421 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:32 -0400 (0:00:00.046) 0:01:16.467 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:32 -0400 (0:00:00.041) 0:01:16.509 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:32 -0400 (0:00:00.062) 0:01:16.572 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:32 -0400 (0:00:00.058) 0:01:16.631 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:32 -0400 (0:00:00.050) 0:01:16.682 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:32 -0400 (0:00:00.069) 0:01:16.751 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:32 -0400 (0:00:00.110) 0:01:16.861 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:32 -0400 (0:00:00.040) 0:01:16.902 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:32 -0400 (0:00:00.034) 0:01:16.936 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:32 -0400 (0:00:00.077) 0:01:17.014 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:33 -0400 (0:00:00.600) 0:01:17.615 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:33 -0400 (0:00:00.153) 0:01:17.768 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:33 -0400 (0:00:00.047) 0:01:17.816 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:33 -0400 (0:00:00.037) 0:01:17.854 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:34 -0400 (0:00:00.591) 0:01:18.445 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:34 -0400 (0:00:00.055) 0:01:18.501 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:34 -0400 (0:00:00.077) 0:01:18.578 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f0281707-b000-47f6-86a1-8de61f904d6c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:34 -0400 (0:00:00.061) 0:01:18.639 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:34 -0400 (0:00:00.054) 0:01:18.694 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 09:59:34 -0400 (0:00:00.426) 0:01:19.120 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:34 -0400 (0:00:00.092) 0:01:19.212 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:34 -0400 (0:00:00.103) 0:01:19.316 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:35 -0400 (0:00:00.089) 0:01:19.405 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:35 -0400 (0:00:00.058) 0:01:19.463 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:35 -0400 (0:00:00.045) 0:01:19.509 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:37 -0400 (0:00:01.997) 0:01:21.506 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:37 -0400 (0:00:00.808) 0:01:22.315 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:37 -0400 (0:00:00.057) 0:01:22.373 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:38 -0400 (0:00:00.053) 0:01:22.426 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:38 -0400 (0:00:00.051) 0:01:22.477 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:38 -0400 (0:00:00.100) 0:01:22.577 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:38 -0400 (0:00:00.145) 0:01:22.722 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:38 -0400 (0:00:00.113) 0:01:22.836 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:38 -0400 (0:00:00.139) 0:01:22.976 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:38 -0400 (0:00:00.140) 0:01:23.117 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:38 -0400 (0:00:00.070) 0:01:23.187 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:38 -0400 (0:00:00.061) 0:01:23.248 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:38 -0400 (0:00:00.113) 0:01:23.361 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:39 -0400 (0:00:00.628) 0:01:23.989 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:39 -0400 (0:00:00.070) 0:01:24.060 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:39 -0400 (0:00:00.030) 0:01:24.091 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:39 -0400 (0:00:00.031) 0:01:24.122 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:40 -0400 (0:00:00.660) 0:01:24.783 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:40 -0400 (0:00:00.035) 0:01:24.819 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:40 -0400 (0:00:00.043) 0:01:24.862 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:40 -0400 (0:00:00.043) 0:01:24.906 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:40 -0400 (0:00:00.029) 0:01:24.936 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 09:59:40 -0400 (0:00:00.368) 0:01:25.305 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 09:59:41 -0400 (0:00:00.086) 0:01:25.391 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:41 -0400 (0:00:00.100) 0:01:25.492 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:41 -0400 (0:00:00.066) 0:01:25.559 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:41 -0400 (0:00:00.055) 0:01:25.614 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:41 -0400 (0:00:00.035) 0:01:25.650 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:41 -0400 (0:00:00.047) 0:01:25.697 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:43 -0400 (0:00:01.912) 0:01:27.610 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:44 -0400 (0:00:00.825) 0:01:28.435 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:44 -0400 (0:00:00.034) 0:01:28.470 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:44 -0400 (0:00:00.029) 0:01:28.500 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:44 -0400 (0:00:00.036) 0:01:28.536 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:44 -0400 (0:00:00.088) 0:01:28.625 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:44 -0400 (0:00:00.098) 0:01:28.723 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:44 -0400 (0:00:00.086) 0:01:28.809 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:44 -0400 (0:00:00.078) 0:01:28.888 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:44 -0400 (0:00:00.143) 0:01:29.031 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:44 -0400 (0:00:00.054) 0:01:29.086 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:44 -0400 (0:00:00.040) 0:01:29.127 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:44 -0400 (0:00:00.068) 0:01:29.196 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:45 -0400 (0:00:00.569) 0:01:29.765 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:45 -0400 (0:00:00.095) 0:01:29.861 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:45 -0400 (0:00:00.050) 0:01:29.912 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:45 -0400 (0:00:00.037) 0:01:29.949 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:46 -0400 (0:00:00.688) 0:01:30.638 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:46 -0400 (0:00:00.032) 0:01:30.670 ******** ok: [managed-node1] => { "__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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:46 -0400 (0:00:00.036) 0:01:30.707 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:46 -0400 (0:00:00.035) 0:01:30.743 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:46 -0400 (0:00:00.039) 0:01:30.782 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 09:59:46 -0400 (0:00:00.419) 0:01:31.202 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 09:59:46 -0400 (0:00:00.069) 0:01:31.272 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 09:59:46 -0400 (0:00:00.056) 0:01:31.328 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 09:59:46 -0400 (0:00:00.033) 0:01:31.361 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 09:59:47 -0400 (0:00:00.356) 0:01:31.718 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 09:59:47 -0400 (0:00:00.031) 0:01:31.749 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017447", "end": "2024-10-04 09:59:47.659982", "rc": 1, "start": "2024-10-04 09:59:47.642535" } 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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 09:59:47 -0400 (0:00:00.369) 0:01:32.118 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 09:59:47 -0400 (0:00:00.037) 0:01:32.156 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 09:59:47 -0400 (0:00:00.050) 0:01:32.207 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 09:59:47 -0400 (0:00:00.056) 0:01:32.264 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 09:59:47 -0400 (0:00:00.052) 0:01:32.316 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 09:59:48 -0400 (0:00:00.117) 0:01:32.433 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 09:59:48 -0400 (0:00:00.053) 0:01:32.487 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:59:48 -0400 (0:00:00.083) 0:01:32.570 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:59:48 -0400 (0:00:00.056) 0:01:32.627 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:59:48 -0400 (0:00:00.350) 0:01:32.977 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 09:59:48 -0400 (0:00:00.035) 0:01:33.013 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 09:59:48 -0400 (0:00:00.035) 0:01:33.049 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 09:59:48 -0400 (0:00:00.080) 0:01:33.130 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034301", "end": "2024-10-04 09:59:49.058186", "rc": 1, "start": "2024-10-04 09:59:49.023885" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 04 October 2024 09:59:49 -0400 (0:00:00.383) 0:01:33.513 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 09:59:49 -0400 (0:00:00.053) 0:01:33.566 ******** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 09:59:49 -0400 (0:00:00.032) 0:01:33.599 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 09:59:49 -0400 (0:00:00.064) 0:01:33.663 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:59:49 -0400 (0:00:00.049) 0:01:33.713 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:59:49 -0400 (0:00:00.085) 0:01:33.799 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003463", "end": "2024-10-04 09:59:49.698813", "rc": 0, "start": "2024-10-04 09:59:49.695350" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:59:49 -0400 (0:00:00.355) 0:01:34.154 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:59:49 -0400 (0:00:00.034) 0:01:34.188 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 09:59:49 -0400 (0:00:00.034) 0:01:34.223 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 09:59:49 -0400 (0:00:00.059) 0:01:34.283 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:49 -0400 (0:00:00.066) 0:01:34.349 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:50 -0400 (0:00:00.059) 0:01:34.409 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:50 -0400 (0:00:00.055) 0:01:34.464 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:50 -0400 (0:00:00.034) 0:01:34.499 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:50 -0400 (0:00:00.035) 0:01:34.534 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:51 -0400 (0:00:01.848) 0:01:36.383 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:52 -0400 (0:00:00.800) 0:01:37.184 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:52 -0400 (0:00:00.033) 0:01:37.217 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:52 -0400 (0:00:00.030) 0:01:37.248 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:52 -0400 (0:00:00.029) 0:01:37.277 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:52 -0400 (0:00:00.061) 0:01:37.338 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:53 -0400 (0:00:00.058) 0:01:37.396 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:53 -0400 (0:00:00.052) 0:01:37.448 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:53 -0400 (0:00:00.057) 0:01:37.506 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:53 -0400 (0:00:00.081) 0:01:37.587 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:53 -0400 (0:00:00.031) 0:01:37.619 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:53 -0400 (0:00:00.030) 0:01:37.649 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:53 -0400 (0:00:00.060) 0:01:37.710 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:53 -0400 (0:00:00.559) 0:01:38.270 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:53 -0400 (0:00:00.057) 0:01:38.327 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:53 -0400 (0:00:00.031) 0:01:38.358 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:53 -0400 (0:00:00.029) 0:01:38.388 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:54 -0400 (0:00:00.564) 0:01:38.952 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:54 -0400 (0:00:00.031) 0:01:38.984 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:54 -0400 (0:00:00.033) 0:01:39.018 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:54 -0400 (0:00:00.082) 0:01:39.101 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:54 -0400 (0:00:00.030) 0:01:39.131 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 09:59:55 -0400 (0:00:00.363) 0:01:39.495 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 09:59:55 -0400 (0:00:00.035) 0:01:39.531 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:59:55 -0400 (0:00:00.066) 0:01:39.597 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:59:55 -0400 (0:00:00.058) 0:01:39.656 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:59:55 -0400 (0:00:00.055) 0:01:39.711 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:59:55 -0400 (0:00:00.036) 0:01:39.748 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:59:55 -0400 (0:00:00.036) 0:01:39.784 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:59:57 -0400 (0:00:01.874) 0:01:41.658 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:59:57 -0400 (0:00:00.707) 0:01:42.366 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:59:58 -0400 (0:00:00.034) 0:01:42.401 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:59:58 -0400 (0:00:00.079) 0:01:42.480 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:59:58 -0400 (0:00:00.031) 0:01:42.511 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:59:58 -0400 (0:00:00.063) 0:01:42.575 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:59:58 -0400 (0:00:00.059) 0:01:42.634 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:59:58 -0400 (0:00:00.053) 0:01:42.688 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:59:58 -0400 (0:00:00.058) 0:01:42.746 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:59:58 -0400 (0:00:00.085) 0:01:42.832 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:59:58 -0400 (0:00:00.031) 0:01:42.864 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:59:58 -0400 (0:00:00.029) 0:01:42.894 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:59:58 -0400 (0:00:00.066) 0:01:42.960 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:59:59 -0400 (0:00:00.560) 0:01:43.520 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:59:59 -0400 (0:00:00.058) 0:01:43.579 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:59:59 -0400 (0:00:00.031) 0:01:43.611 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:59:59 -0400 (0:00:00.030) 0:01:43.641 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:59:59 -0400 (0:00:00.527) 0:01:44.168 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:59:59 -0400 (0:00:00.030) 0:01:44.199 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:59:59 -0400 (0:00:00.035) 0:01:44.234 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 177c44bd-7723-418c-87d2-ffaec6855196 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:59:59 -0400 (0:00:00.035) 0:01:44.270 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:59:59 -0400 (0:00:00.030) 0:01:44.300 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:00:00 -0400 (0:00:00.415) 0:01:44.716 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:00:00 -0400 (0:00:00.101) 0:01:44.818 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:00:00 -0400 (0:00:00.080) 0:01:44.898 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:00:00 -0400 (0:00:00.107) 0:01:45.006 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:00:00 -0400 (0:00:00.060) 0:01:45.067 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:00:00 -0400 (0:00:00.061) 0:01:45.129 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:00:02 -0400 (0:00:01.928) 0:01:47.057 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:00:03 -0400 (0:00:00.715) 0:01:47.773 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:00:03 -0400 (0:00:00.035) 0:01:47.808 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:00:03 -0400 (0:00:00.032) 0:01:47.840 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:00:03 -0400 (0:00:00.030) 0:01:47.871 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:00:03 -0400 (0:00:00.061) 0:01:47.933 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:00:03 -0400 (0:00:00.116) 0:01:48.049 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:00:03 -0400 (0:00:00.050) 0:01:48.100 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:00:03 -0400 (0:00:00.062) 0:01:48.162 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:00:03 -0400 (0:00:00.084) 0:01:48.246 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:00:03 -0400 (0:00:00.032) 0:01:48.279 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:00:03 -0400 (0:00:00.030) 0:01:48.310 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:00:03 -0400 (0:00:00.061) 0:01:48.371 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:00:04 -0400 (0:00:00.563) 0:01:48.934 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:00:04 -0400 (0:00:00.059) 0:01:48.993 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:00:04 -0400 (0:00:00.037) 0:01:49.031 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:00:04 -0400 (0:00:00.032) 0:01:49.063 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:00:05 -0400 (0:00:00.605) 0:01:49.669 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:00:05 -0400 (0:00:00.032) 0:01:49.701 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:00:05 -0400 (0:00:00.034) 0:01:49.736 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:00:05 -0400 (0:00:00.036) 0:01:49.773 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:00:05 -0400 (0:00:00.030) 0:01:49.803 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:00:05 -0400 (0:00:00.364) 0:01:50.167 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:00:05 -0400 (0:00:00.099) 0:01:50.266 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:00:05 -0400 (0:00:00.067) 0:01:50.334 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:00:06 -0400 (0:00:00.062) 0:01:50.397 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:00:06 -0400 (0:00:00.056) 0:01:50.453 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:00:06 -0400 (0:00:00.037) 0:01:50.490 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:00:06 -0400 (0:00:00.035) 0:01:50.526 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:00:08 -0400 (0:00:01.868) 0:01:52.394 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:00:08 -0400 (0:00:00.716) 0:01:53.110 ******** ok: [managed-node1] => {} 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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:00:08 -0400 (0:00:00.036) 0:01:53.147 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:00:08 -0400 (0:00:00.031) 0:01:53.178 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:00:08 -0400 (0:00:00.033) 0:01:53.211 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:00:08 -0400 (0:00:00.060) 0:01:53.272 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:00:08 -0400 (0:00:00.061) 0:01:53.333 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:00:09 -0400 (0:00:00.101) 0:01:53.434 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:00:09 -0400 (0:00:00.059) 0:01:53.494 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:00:09 -0400 (0:00:00.087) 0:01:53.582 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:00:09 -0400 (0:00:00.031) 0:01:53.613 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:00:09 -0400 (0:00:00.032) 0:01:53.646 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:00:09 -0400 (0:00:00.060) 0:01:53.706 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:00:09 -0400 (0:00:00.554) 0:01:54.260 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:00:09 -0400 (0:00:00.062) 0:01:54.323 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:00:09 -0400 (0:00:00.031) 0:01:54.354 ******** skipping: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:00:09 -0400 (0:00:00.031) 0:01:54.386 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:00:10 -0400 (0:00:00.528) 0:01:54.914 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:00:10 -0400 (0:00:00.030) 0:01:54.945 ******** ok: [managed-node1] => { "__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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:00:10 -0400 (0:00:00.035) 0:01:54.981 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:00:10 -0400 (0:00:00.035) 0:01:55.016 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:00:10 -0400 (0:00:00.031) 0:01:55.048 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:00:11 -0400 (0:00:00.359) 0:01:55.408 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:00:11 -0400 (0:00:00.062) 0:01:55.470 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:00:11 -0400 (0:00:00.105) 0:01:55.576 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:00:11 -0400 (0:00:00.033) 0:01:55.609 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:00:11 -0400 (0:00:00.354) 0:01:55.964 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:00:11 -0400 (0:00:00.030) 0:01:55.995 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017622", "end": "2024-10-04 10:00:11.907794", "rc": 1, "start": "2024-10-04 10:00:11.890172" } 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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:00:11 -0400 (0:00:00.369) 0:01:56.364 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:00:12 -0400 (0:00:00.032) 0:01:56.397 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:00:12 -0400 (0:00:00.032) 0:01:56.430 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:00:12 -0400 (0:00:00.033) 0:01:56.463 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:00:12 -0400 (0:00:00.031) 0:01:56.494 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:00:12 -0400 (0:00:00.032) 0:01:56.527 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 04 October 2024 10:00:12 -0400 (0:00:00.034) 0:01:56.562 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.167752", "end": "2024-10-04 10:00:12.623095", "rc": 0, "start": "2024-10-04 10:00:12.455343" } STDOUT: NetworkManager-1.48.10-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 04 October 2024 10:00:12 -0400 (0:00:00.518) 0:01:57.081 ******** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 04 October 2024 10:00:12 -0400 (0:00:00.042) 0:01:57.123 ******** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.48.10-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:00:12 -0400 (0:00:00.034) 0:01:57.157 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:00:12 -0400 (0:00:00.077) 0:01:57.235 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:00:12 -0400 (0:00:00.050) 0:01:57.286 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:00:13 -0400 (0:00:00.406) 0:01:57.692 ******** ok: [managed-node1] => { "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:00:13 -0400 (0:00:00.041) 0:01:57.733 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:00:13 -0400 (0:00:00.042) 0:01:57.776 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:00:13 -0400 (0:00:00.070) 0:01:57.846 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035703", "end": "2024-10-04 10:00:13.770565", "rc": 1, "start": "2024-10-04 10:00:13.734862" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 04 October 2024 10:00:13 -0400 (0:00:00.380) 0:01:58.226 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009208", "end": "2024-10-04 10:00:14.128799", "rc": 0, "start": "2024-10-04 10:00:14.119591" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:72:5b:ba:89:0b brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.11.183/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2665sec preferred_lft 2665sec inet6 fe80::1072:5bff:feba:890b/64 scope link noprefixroute valid_lft forever preferred_lft forever 25: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether c2:02:e2:bb:3d:a6 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.183 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.183 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 04 October 2024 10:00:14 -0400 (0:00:00.360) 0:01:58.586 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.145895", "end": "2024-10-04 10:00:14.629286", "rc": 0, "start": "2024-10-04 10:00:14.483391" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 6952 0 --:--:-- --:--:-- --:--:-- 7093 % 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 3798 0 --:--:-- --:--:-- --:--:-- 3828 PLAY RECAP ********************************************************************* managed-node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Friday 04 October 2024 10:00:14 -0400 (0:00:00.551) 0:01:59.138 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.91s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.00s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-cI5/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-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.41s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.17s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.98s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26