ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-L7P 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-L7P/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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 02 November 2024 08:46:17 -0400 (0:00:00.011) 0:00:00.011 ***** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 02 November 2024 08:46:18 -0400 (0:00:01.344) 0:00:01.356 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 02 November 2024 08:46:18 -0400 (0:00:00.031) 0:00:01.388 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.524) 0:00:01.912 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.495) 0:00:02.407 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.037) 0:00:02.444 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.025) 0:00:02.469 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.064) 0:00:02.534 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.022) 0:00:02.557 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.035) 0:00:02.593 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.025) 0:00:02.618 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.029) 0:00:02.648 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.028) 0:00:02.676 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 02 November 2024 08:46:19 -0400 (0:00:00.061) 0:00:02.738 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 02 November 2024 08:46:20 -0400 (0:00:00.899) 0:00:03.637 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 02 November 2024 08:46:20 -0400 (0:00:00.016) 0:00:03.654 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:46:20 -0400 (0:00:00.024) 0:00:03.678 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:46:20 -0400 (0:00:00.016) 0:00:03.694 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.052) 0:00:03.747 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.031) 0:00:03.779 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.029) 0:00:03.808 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004016", "end": "2024-11-02 08:46:21.449153", "rc": 0, "start": "2024-11-02 08:46:21.445137" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.455) 0:00:04.263 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.026) 0:00:04.289 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.018) 0:00:04.308 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.030) 0:00:04.339 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007595", "end": "2024-11-02 08:46:21.895065", "rc": 1, "start": "2024-11-02 08:46:21.887470" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.366) 0:00:04.706 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:46:21 -0400 (0:00:00.031) 0:00:04.737 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.350) 0:00:05.088 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.028) 0:00:05.117 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.040) 0:00:05.158 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.071) 0:00:05.229 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.064) 0:00:05.294 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.083) 0:00:05.378 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.034) 0:00:05.412 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:46:22 -0400 (0:00:00.040) 0:00:05.452 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:46:24 -0400 (0:00:02.202) 0:00:07.655 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:46:25 -0400 (0:00:01.042) 0:00:08.697 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.059) 0:00:08.757 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.037) 0:00:08.795 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.037) 0:00:08.832 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.075) 0:00:08.907 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.061) 0:00:08.969 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.049) 0:00:09.018 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.058) 0:00:09.076 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.086) 0:00:09.162 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.056) 0:00:09.219 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.031) 0:00:09.250 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:46:26 -0400 (0:00:00.061) 0:00:09.312 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:46:27 -0400 (0:00:00.813) 0:00:10.126 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:46:27 -0400 (0:00:00.064) 0:00:10.190 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:46:27 -0400 (0:00:00.044) 0:00:10.235 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:46:27 -0400 (0:00:00.050) 0:00:10.285 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec976679-127a-4f87-a30f-56cca9df4030 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:46:28 -0400 (0:00:00.921) 0:00:11.207 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:46:28 -0400 (0:00:00.056) 0:00:11.264 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec976679-127a-4f87-a30f-56cca9df4030" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:46:28 -0400 (0:00:00.061) 0:00:11.325 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec976679-127a-4f87-a30f-56cca9df4030\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec976679-127a-4f87-a30f-56cca9df4030" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:46:28 -0400 (0:00:00.081) 0:00:11.406 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:46:28 -0400 (0:00:00.099) 0:00:11.506 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:46:29 -0400 (0:00:00.616) 0:00:12.123 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec976679-127a-4f87-a30f-56cca9df4030\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec976679-127a-4f87-a30f-56cca9df4030" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:46:29 -0400 (0:00:00.043) 0:00:12.166 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:46:29 -0400 (0:00:00.098) 0:00:12.264 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:46:29 -0400 (0:00:00.140) 0:00:12.404 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:46:29 -0400 (0:00:00.059) 0:00:12.463 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.375) 0:00:12.839 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.030) 0:00:12.869 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019509", "end": "2024-11-02 08:46:30.430362", "rc": 0, "start": "2024-11-02 08:46:30.410853" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.378) 0:00:13.247 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.043) 0:00:13.291 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.035) 0:00:13.327 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.037) 0:00:13.365 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.030) 0:00:13.396 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.032) 0:00:13.428 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.035) 0:00:13.463 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.036) 0:00:13.500 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.035) 0:00:13.535 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:46:30 -0400 (0:00:00.110) 0:00:13.646 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:46:31 -0400 (0:00:00.121) 0:00:13.768 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551588.3181028, "block_size": 4096, "blocks": 0, "ctime": 1730551588.3181028, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31360, "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": 1730551588.3181028, "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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:46:31 -0400 (0:00:00.406) 0:00:14.175 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:46:31 -0400 (0:00:00.034) 0:00:14.210 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:46:31 -0400 (0:00:00.066) 0:00:14.276 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:46:31 -0400 (0:00:00.058) 0:00:14.335 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057412", "end": "2024-11-02 08:46:31.933258", "rc": 1, "start": "2024-11-02 08:46:31.875846" } STDOUT: Connection 'statebr' (ec976679-127a-4f87-a30f-56cca9df4030) 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 02 November 2024 08:46:32 -0400 (0:00:00.435) 0:00:14.770 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:46:32 -0400 (0:00:00.114) 0:00:14.885 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:46:32 -0400 (0:00:00.106) 0:00:14.991 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:46:32 -0400 (0:00:00.118) 0:00:15.109 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:46:32 -0400 (0:00:00.082) 0:00:15.192 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:46:32 -0400 (0:00:00.109) 0:00:15.302 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003362", "end": "2024-11-02 08:46:32.881282", "rc": 0, "start": "2024-11-02 08:46:32.877920" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:46:33 -0400 (0:00:00.449) 0:00:15.752 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:46:33 -0400 (0:00:00.066) 0:00:15.818 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:46:33 -0400 (0:00:00.060) 0:00:15.879 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 02 November 2024 08:46:33 -0400 (0:00:00.119) 0:00:15.999 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006838", "end": "2024-11-02 08:46:33.554368", "rc": 1, "start": "2024-11-02 08:46:33.547530" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:46:33 -0400 (0:00:00.389) 0:00:16.388 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:46:33 -0400 (0:00:00.129) 0:00:16.518 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.391) 0:00:16.910 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.059) 0:00:16.969 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.132) 0:00:17.102 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.185) 0:00:17.287 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.149) 0:00:17.437 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.107) 0:00:17.545 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.050) 0:00:17.595 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:46:34 -0400 (0:00:00.038) 0:00:17.634 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:46:36 -0400 (0:00:01.891) 0:00:19.526 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:46:37 -0400 (0:00:00.873) 0:00:20.399 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:46:37 -0400 (0:00:00.097) 0:00:20.497 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:46:37 -0400 (0:00:00.156) 0:00:20.654 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:46:37 -0400 (0:00:00.070) 0:00:20.724 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.117) 0:00:20.842 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.107) 0:00:20.949 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.090) 0:00:21.040 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.118) 0:00:21.159 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.262) 0:00:21.421 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.059) 0:00:21.481 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.061) 0:00:21.542 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:46:38 -0400 (0:00:00.103) 0:00:21.646 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:46:39 -0400 (0:00:00.667) 0:00:22.314 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:46:39 -0400 (0:00:00.141) 0:00:22.455 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:46:39 -0400 (0:00:00.056) 0:00:22.512 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:46:39 -0400 (0:00:00.093) 0:00:22.605 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f02d7b35-6d2c-4053-8eea-f27657e5c371 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:46:40 -0400 (0:00:00.742) 0:00:23.348 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:46:40 -0400 (0:00:00.060) 0:00:23.408 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f02d7b35-6d2c-4053-8eea-f27657e5c371" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:46:40 -0400 (0:00:00.075) 0:00:23.484 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f02d7b35-6d2c-4053-8eea-f27657e5c371\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f02d7b35-6d2c-4053-8eea-f27657e5c371" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:46:40 -0400 (0:00:00.073) 0:00:23.558 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:46:41 -0400 (0:00:00.221) 0:00:23.779 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 02 November 2024 08:46:41 -0400 (0:00:00.462) 0:00:24.241 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f02d7b35-6d2c-4053-8eea-f27657e5c371\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f02d7b35-6d2c-4053-8eea-f27657e5c371" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:46:41 -0400 (0:00:00.061) 0:00:24.303 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:46:41 -0400 (0:00:00.111) 0:00:24.414 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:46:41 -0400 (0:00:00.088) 0:00:24.502 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:46:42 -0400 (0:00:00.410) 0:00:24.913 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:46:42 -0400 (0:00:00.036) 0:00:24.949 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:46:42 -0400 (0:00:00.058) 0:00:25.007 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:46:42 -0400 (0:00:00.034) 0:00:25.042 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:46:42 -0400 (0:00:00.351) 0:00:25.394 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:46:42 -0400 (0:00:00.032) 0:00:25.426 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017863", "end": "2024-11-02 08:46:43.022412", "rc": 0, "start": "2024-11-02 08:46:43.004549" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.430) 0:00:25.857 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.049) 0:00:25.907 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.045) 0:00:25.952 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.040) 0:00:25.992 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.072) 0:00:26.065 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.033) 0:00:26.099 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.038) 0:00:26.137 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.039) 0:00:26.177 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.041) 0:00:26.218 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.092) 0:00:26.311 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.067) 0:00:26.378 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:46:43 -0400 (0:00:00.131) 0:00:26.510 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037142", "end": "2024-11-02 08:46:44.121095", "rc": 1, "start": "2024-11-02 08:46:44.083953" } STDOUT: Connection 'statebr' (f02d7b35-6d2c-4053-8eea-f27657e5c371) 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 02 November 2024 08:46:44 -0400 (0:00:00.463) 0:00:26.974 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:46:44 -0400 (0:00:00.155) 0:00:27.130 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:46:44 -0400 (0:00:00.088) 0:00:27.218 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:46:44 -0400 (0:00:00.157) 0:00:27.376 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:46:44 -0400 (0:00:00.155) 0:00:27.531 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:46:44 -0400 (0:00:00.167) 0:00:27.699 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003252", "end": "2024-11-02 08:46:45.296868", "rc": 0, "start": "2024-11-02 08:46:45.293616" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.461) 0:00:28.160 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.048) 0:00:28.209 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.058) 0:00:28.268 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.091) 0:00:28.359 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.112) 0:00:28.472 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.084) 0:00:28.556 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.057) 0:00:28.614 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.036) 0:00:28.650 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:46:45 -0400 (0:00:00.035) 0:00:28.685 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:46:47 -0400 (0:00:01.941) 0:00:30.627 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:46:48 -0400 (0:00:00.769) 0:00:31.396 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:46:48 -0400 (0:00:00.060) 0:00:31.456 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:46:48 -0400 (0:00:00.067) 0:00:31.524 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:46:48 -0400 (0:00:00.174) 0:00:31.701 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.132) 0:00:31.833 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.133) 0:00:31.967 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.089) 0:00:32.056 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.099) 0:00:32.155 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.128) 0:00:32.284 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.033) 0:00:32.317 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.032) 0:00:32.350 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:46:49 -0400 (0:00:00.065) 0:00:32.415 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:46:50 -0400 (0:00:00.586) 0:00:33.001 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:46:50 -0400 (0:00:00.102) 0:00:33.103 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:46:50 -0400 (0:00:00.055) 0:00:33.159 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:46:50 -0400 (0:00:00.054) 0:00:33.214 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.682) 0:00:33.897 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.043) 0:00:33.940 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.041) 0:00:33.982 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.037) 0:00:34.019 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.030) 0:00:34.050 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.425) 0:00:34.476 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.062) 0:00:34.538 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.078) 0:00:34.616 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:46:51 -0400 (0:00:00.111) 0:00:34.728 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:46:52 -0400 (0:00:00.109) 0:00:34.838 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:46:52 -0400 (0:00:00.102) 0:00:34.940 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:46:52 -0400 (0:00:00.061) 0:00:35.001 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:46:52 -0400 (0:00:00.062) 0:00:35.064 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:46:54 -0400 (0:00:01.915) 0:00:36.980 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:46:54 -0400 (0:00:00.746) 0:00:37.726 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.060) 0:00:37.786 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.120) 0:00:37.907 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.043) 0:00:37.951 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.073) 0:00:38.025 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.066) 0:00:38.091 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.056) 0:00:38.147 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.060) 0:00:38.208 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.092) 0:00:38.301 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.042) 0:00:38.343 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.041) 0:00:38.385 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:46:55 -0400 (0:00:00.101) 0:00:38.487 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:46:56 -0400 (0:00:00.642) 0:00:39.130 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:46:56 -0400 (0:00:00.110) 0:00:39.240 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:46:56 -0400 (0:00:00.058) 0:00:39.299 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:46:56 -0400 (0:00:00.055) 0:00:39.354 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:46:57 -0400 (0:00:00.649) 0:00:40.004 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:46:57 -0400 (0:00:00.068) 0:00:40.073 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:46:57 -0400 (0:00:00.060) 0:00:40.133 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 31da7b90-f39a-44dc-a3a7-984b65a4eba9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:46:57 -0400 (0:00:00.061) 0:00:40.194 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:46:57 -0400 (0:00:00.053) 0:00:40.248 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:46:58 -0400 (0:00:00.509) 0:00:40.757 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:46:58 -0400 (0:00:00.126) 0:00:40.884 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:46:58 -0400 (0:00:00.104) 0:00:40.988 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551611.0249453, "block_size": 4096, "blocks": 0, "ctime": 1730551611.0249453, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31485, "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": 1730551611.0249453, "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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:46:58 -0400 (0:00:00.481) 0:00:41.469 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:46:58 -0400 (0:00:00.077) 0:00:41.547 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:46:58 -0400 (0:00:00.117) 0:00:41.665 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:46:58 -0400 (0:00:00.074) 0:00:41.739 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:46:59 -0400 (0:00:00.501) 0:00:42.241 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:46:59 -0400 (0:00:00.102) 0:00:42.343 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018750", "end": "2024-11-02 08:46:59.965331", "rc": 0, "start": "2024-11-02 08:46:59.946581" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.461) 0:00:42.804 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.064) 0:00:42.869 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.054) 0:00:42.923 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.054) 0:00:42.978 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.057) 0:00:43.035 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.092) 0:00:43.127 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.088) 0:00:43.216 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.082) 0:00:43.299 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.070) 0:00:43.370 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.107) 0:00:43.477 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.056) 0:00:43.533 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:47:00 -0400 (0:00:00.105) 0:00:43.639 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.056620", "end": "2024-11-02 08:47:01.276580", "rc": 1, "start": "2024-11-02 08:47:01.219960" } STDOUT: Connection 'statebr' (31da7b90-f39a-44dc-a3a7-984b65a4eba9) 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 02 November 2024 08:47:01 -0400 (0:00:00.521) 0:00:44.161 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:47:01 -0400 (0:00:00.106) 0:00:44.268 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:47:01 -0400 (0:00:00.065) 0:00:44.333 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:47:01 -0400 (0:00:00.091) 0:00:44.424 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:47:01 -0400 (0:00:00.074) 0:00:44.499 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:47:01 -0400 (0:00:00.084) 0:00:44.583 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003366", "end": "2024-11-02 08:47:02.143714", "rc": 0, "start": "2024-11-02 08:47:02.140348" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.396) 0:00:44.980 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.055) 0:00:45.035 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.083) 0:00:45.118 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.058) 0:00:45.177 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.078) 0:00:45.255 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.109) 0:00:45.364 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.085) 0:00:45.450 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.067) 0:00:45.517 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:02 -0400 (0:00:00.050) 0:00:45.568 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:04 -0400 (0:00:01.874) 0:00:47.442 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:05 -0400 (0:00:00.840) 0:00:48.283 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:05 -0400 (0:00:00.041) 0:00:48.325 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:05 -0400 (0:00:00.047) 0:00:48.373 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:05 -0400 (0:00:00.056) 0:00:48.429 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:05 -0400 (0:00:00.134) 0:00:48.563 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:05 -0400 (0:00:00.079) 0:00:48.643 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:05 -0400 (0:00:00.079) 0:00:48.723 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:06 -0400 (0:00:00.083) 0:00:48.806 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:06 -0400 (0:00:00.177) 0:00:48.984 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:06 -0400 (0:00:00.062) 0:00:49.047 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:06 -0400 (0:00:00.055) 0:00:49.102 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:06 -0400 (0:00:00.076) 0:00:49.179 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.583) 0:00:49.762 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.073) 0:00:49.836 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.038) 0:00:49.874 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.031) 0:00:49.906 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.629) 0:00:50.535 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.043) 0:00:50.578 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.051) 0:00:50.630 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.050) 0:00:50.680 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:07 -0400 (0:00:00.036) 0:00:50.717 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:47:08 -0400 (0:00:00.376) 0:00:51.093 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:47:08 -0400 (0:00:00.077) 0:00:51.171 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:08 -0400 (0:00:00.069) 0:00:51.240 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:08 -0400 (0:00:00.084) 0:00:51.325 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:08 -0400 (0:00:00.120) 0:00:51.445 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:08 -0400 (0:00:00.082) 0:00:51.528 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:08 -0400 (0:00:00.082) 0:00:51.611 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:10 -0400 (0:00:01.877) 0:00:53.488 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:11 -0400 (0:00:00.802) 0:00:54.291 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:11 -0400 (0:00:00.118) 0:00:54.410 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:11 -0400 (0:00:00.058) 0:00:54.468 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:11 -0400 (0:00:00.061) 0:00:54.529 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:11 -0400 (0:00:00.150) 0:00:54.680 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:12 -0400 (0:00:00.082) 0:00:54.762 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:12 -0400 (0:00:00.095) 0:00:54.858 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:12 -0400 (0:00:00.060) 0:00:54.919 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:12 -0400 (0:00:00.096) 0:00:55.015 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:12 -0400 (0:00:00.054) 0:00:55.070 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:12 -0400 (0:00:00.037) 0:00:55.108 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:12 -0400 (0:00:00.092) 0:00:55.200 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:13 -0400 (0:00:00.714) 0:00:55.916 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:13 -0400 (0:00:00.116) 0:00:56.032 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:13 -0400 (0:00:00.080) 0:00:56.112 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:13 -0400 (0:00:00.058) 0:00:56.171 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.639) 0:00:56.810 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.038) 0:00:56.849 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.064) 0:00:56.914 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e02416c0-c375-422f-bd34-dcabac6f71ac skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.058) 0:00:56.973 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.052) 0:00:57.026 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.450) 0:00:57.476 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.089) 0:00:57.565 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:14 -0400 (0:00:00.177) 0:00:57.743 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:15 -0400 (0:00:00.201) 0:00:57.944 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:15 -0400 (0:00:00.087) 0:00:58.032 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:15 -0400 (0:00:00.045) 0:00:58.078 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:15 -0400 (0:00:00.037) 0:00:58.116 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:17 -0400 (0:00:01.926) 0:01:00.042 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.736) 0:01:00.778 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.035) 0:01:00.814 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.036) 0:01:00.851 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.038) 0:01:00.890 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.099) 0:01:00.990 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.120) 0:01:01.110 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.080) 0:01:01.190 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.147) 0:01:01.338 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.137) 0:01:01.476 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.055) 0:01:01.531 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.052) 0:01:01.583 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:18 -0400 (0:00:00.085) 0:01:01.669 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:19 -0400 (0:00:00.580) 0:01:02.250 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:19 -0400 (0:00:00.060) 0:01:02.310 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:19 -0400 (0:00:00.031) 0:01:02.342 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:19 -0400 (0:00:00.031) 0:01:02.373 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:20 -0400 (0:00:00.653) 0:01:03.026 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:20 -0400 (0:00:00.103) 0:01:03.130 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:20 -0400 (0:00:00.118) 0:01:03.249 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:20 -0400 (0:00:00.067) 0:01:03.316 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:20 -0400 (0:00:00.047) 0:01:03.363 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:47:20 -0400 (0:00:00.365) 0:01:03.729 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:47:21 -0400 (0:00:00.079) 0:01:03.809 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:47:21 -0400 (0:00:00.126) 0:01:03.935 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551627.6209662, "block_size": 4096, "blocks": 0, "ctime": 1730551627.6209662, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31610, "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": 1730551627.6209662, "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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:47:21 -0400 (0:00:00.384) 0:01:04.320 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:47:21 -0400 (0:00:00.036) 0:01:04.356 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:47:21 -0400 (0:00:00.057) 0:01:04.413 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:47:21 -0400 (0:00:00.036) 0:01:04.449 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.351) 0:01:04.800 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.030) 0:01:04.831 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019397", "end": "2024-11-02 08:47:22.395547", "rc": 1, "start": "2024-11-02 08:47:22.376150" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.414) 0:01:05.246 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.133) 0:01:05.380 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.058) 0:01:05.438 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.064) 0:01:05.502 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.067) 0:01:05.569 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.076) 0:01:05.646 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:47:22 -0400 (0:00:00.061) 0:01:05.708 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:47:23 -0400 (0:00:00.082) 0:01:05.791 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:47:23 -0400 (0:00:00.059) 0:01:05.851 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:47:23 -0400 (0:00:00.130) 0:01:05.981 ***** ok: [managed-node2] => { "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.054641", "end": "2024-11-02 08:47:23.583326", "rc": 0, "start": "2024-11-02 08:47:23.528685" } STDOUT: Connection 'statebr' (e02416c0-c375-422f-bd34-dcabac6f71ac) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 02 November 2024 08:47:23 -0400 (0:00:00.475) 0:01:06.456 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:47:23 -0400 (0:00:00.110) 0:01:06.567 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:47:23 -0400 (0:00:00.059) 0:01:06.626 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:47:23 -0400 (0:00:00.112) 0:01:06.739 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:47:24 -0400 (0:00:00.091) 0:01:06.831 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:47:24 -0400 (0:00:00.090) 0:01:06.921 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003560", "end": "2024-11-02 08:47:24.530979", "rc": 0, "start": "2024-11-02 08:47:24.527419" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:47:24 -0400 (0:00:00.454) 0:01:07.375 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:47:24 -0400 (0:00:00.063) 0:01:07.439 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:47:24 -0400 (0:00:00.070) 0:01:07.509 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:47:24 -0400 (0:00:00.103) 0:01:07.613 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:24 -0400 (0:00:00.083) 0:01:07.696 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:25 -0400 (0:00:00.123) 0:01:07.820 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:25 -0400 (0:00:00.097) 0:01:07.917 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:25 -0400 (0:00:00.103) 0:01:08.020 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:25 -0400 (0:00:00.099) 0:01:08.120 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:27 -0400 (0:00:01.932) 0:01:10.052 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.782) 0:01:10.835 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.037) 0:01:10.873 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.033) 0:01:10.906 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.032) 0:01:10.939 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.067) 0:01:11.007 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.090) 0:01:11.097 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.093) 0:01:11.190 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.083) 0:01:11.274 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.107) 0:01:11.382 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.033) 0:01:11.416 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.032) 0:01:11.449 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:28 -0400 (0:00:00.112) 0:01:11.561 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:29 -0400 (0:00:00.676) 0:01:12.238 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:29 -0400 (0:00:00.102) 0:01:12.340 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:29 -0400 (0:00:00.058) 0:01:12.399 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:29 -0400 (0:00:00.037) 0:01:12.436 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:30 -0400 (0:00:00.647) 0:01:13.084 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:30 -0400 (0:00:00.074) 0:01:13.158 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:30 -0400 (0:00:00.076) 0:01:13.234 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:30 -0400 (0:00:00.062) 0:01:13.296 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:30 -0400 (0:00:00.050) 0:01:13.347 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:47:30 -0400 (0:00:00.395) 0:01:13.742 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:47:31 -0400 (0:00:00.063) 0:01:13.806 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:31 -0400 (0:00:00.121) 0:01:13.927 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:31 -0400 (0:00:00.110) 0:01:14.038 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:31 -0400 (0:00:00.095) 0:01:14.133 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:31 -0400 (0:00:00.112) 0:01:14.246 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:31 -0400 (0:00:00.060) 0:01:14.306 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:33 -0400 (0:00:01.835) 0:01:16.142 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.817) 0:01:16.960 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.063) 0:01:17.023 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.057) 0:01:17.081 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.059) 0:01:17.140 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.107) 0:01:17.247 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.105) 0:01:17.352 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.087) 0:01:17.439 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.099) 0:01:17.539 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:34 -0400 (0:00:00.153) 0:01:17.693 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:35 -0400 (0:00:00.056) 0:01:17.750 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:35 -0400 (0:00:00.064) 0:01:17.815 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:35 -0400 (0:00:00.175) 0:01:17.990 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:35 -0400 (0:00:00.743) 0:01:18.734 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:36 -0400 (0:00:00.257) 0:01:18.991 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:36 -0400 (0:00:00.054) 0:01:19.045 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:36 -0400 (0:00:00.056) 0:01:19.102 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:36 -0400 (0:00:00.635) 0:01:19.737 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.031) 0:01:19.769 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.035) 0:01:19.804 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26ae19b3-85d6-4e38-a515-55ce9f395cff skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.035) 0:01:19.839 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.031) 0:01:19.871 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.434) 0:01:20.305 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.127) 0:01:20.432 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.108) 0:01:20.541 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.121) 0:01:20.663 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:37 -0400 (0:00:00.066) 0:01:20.729 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:38 -0400 (0:00:00.045) 0:01:20.775 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:39 -0400 (0:00:01.959) 0:01:22.734 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:40 -0400 (0:00:00.870) 0:01:23.605 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:40 -0400 (0:00:00.061) 0:01:23.667 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:40 -0400 (0:00:00.058) 0:01:23.725 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.056) 0:01:23.782 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.110) 0:01:23.893 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.079) 0:01:23.972 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.065) 0:01:24.037 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.065) 0:01:24.103 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.107) 0:01:24.210 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.034) 0:01:24.244 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.036) 0:01:24.280 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:41 -0400 (0:00:00.114) 0:01:24.395 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:42 -0400 (0:00:00.652) 0:01:25.047 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:42 -0400 (0:00:00.060) 0:01:25.108 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:42 -0400 (0:00:00.031) 0:01:25.139 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:42 -0400 (0:00:00.044) 0:01:25.184 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:43 -0400 (0:00:00.725) 0:01:25.910 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:43 -0400 (0:00:00.033) 0:01:25.944 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:43 -0400 (0:00:00.037) 0:01:25.981 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:43 -0400 (0:00:00.038) 0:01:26.020 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:43 -0400 (0:00:00.032) 0:01:26.053 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:47:43 -0400 (0:00:00.420) 0:01:26.473 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:47:43 -0400 (0:00:00.102) 0:01:26.576 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:44 -0400 (0:00:00.186) 0:01:26.762 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:44 -0400 (0:00:00.202) 0:01:26.965 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:44 -0400 (0:00:00.137) 0:01:27.102 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:44 -0400 (0:00:00.085) 0:01:27.188 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:44 -0400 (0:00:00.070) 0:01:27.259 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:46 -0400 (0:00:01.906) 0:01:29.165 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:47 -0400 (0:00:01.034) 0:01:30.200 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:47 -0400 (0:00:00.111) 0:01:30.311 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:47 -0400 (0:00:00.099) 0:01:30.411 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:47 -0400 (0:00:00.075) 0:01:30.486 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:47 -0400 (0:00:00.152) 0:01:30.639 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:48 -0400 (0:00:00.167) 0:01:30.807 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:48 -0400 (0:00:00.124) 0:01:30.931 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:48 -0400 (0:00:00.125) 0:01:31.057 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:48 -0400 (0:00:00.161) 0:01:31.219 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:48 -0400 (0:00:00.053) 0:01:31.273 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:48 -0400 (0:00:00.056) 0:01:31.329 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:48 -0400 (0:00:00.118) 0:01:31.447 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:49 -0400 (0:00:00.708) 0:01:32.155 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:49 -0400 (0:00:00.166) 0:01:32.322 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:49 -0400 (0:00:00.109) 0:01:32.432 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:49 -0400 (0:00:00.074) 0:01:32.506 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:50 -0400 (0:00:00.717) 0:01:33.224 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:50 -0400 (0:00:00.075) 0:01:33.299 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:50 -0400 (0:00:00.038) 0:01:33.338 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:50 -0400 (0:00:00.037) 0:01:33.375 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:50 -0400 (0:00:00.033) 0:01:33.409 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:47:51 -0400 (0:00:00.416) 0:01:33.826 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:47:51 -0400 (0:00:00.070) 0:01:33.897 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:47:51 -0400 (0:00:00.093) 0:01:33.991 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:47:51 -0400 (0:00:00.060) 0:01:34.051 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:47:51 -0400 (0:00:00.420) 0:01:34.471 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:47:51 -0400 (0:00:00.038) 0:01:34.510 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018549", "end": "2024-11-02 08:47:52.081950", "rc": 1, "start": "2024-11-02 08:47:52.063401" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.422) 0:01:34.933 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.065) 0:01:34.999 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.039) 0:01:35.038 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.041) 0:01:35.079 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.043) 0:01:35.122 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.078) 0:01:35.201 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.037) 0:01:35.238 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.085) 0:01:35.324 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:47:52 -0400 (0:00:00.052) 0:01:35.377 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.376) 0:01:35.754 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.049) 0:01:35.804 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.041) 0:01:35.845 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.102) 0:01:35.947 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036696", "end": "2024-11-02 08:47:53.551710", "rc": 1, "start": "2024-11-02 08:47:53.515014" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.438) 0:01:36.385 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.101) 0:01:36.487 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.064) 0:01:36.552 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.085) 0:01:36.637 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:47:53 -0400 (0:00:00.061) 0:01:36.698 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.121) 0:01:36.819 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003793", "end": "2024-11-02 08:47:54.399823", "rc": 0, "start": "2024-11-02 08:47:54.396030" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.399) 0:01:37.219 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.048) 0:01:37.268 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.060) 0:01:37.328 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.094) 0:01:37.423 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.082) 0:01:37.506 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.071) 0:01:37.577 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.059) 0:01:37.637 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.043) 0:01:37.681 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:47:54 -0400 (0:00:00.062) 0:01:37.743 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:47:56 -0400 (0:00:01.815) 0:01:39.559 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.757) 0:01:40.316 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.096) 0:01:40.413 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.034) 0:01:40.448 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.034) 0:01:40.482 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.065) 0:01:40.547 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.069) 0:01:40.616 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.056) 0:01:40.673 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:47:57 -0400 (0:00:00.061) 0:01:40.735 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.118) 0:01:40.853 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.033) 0:01:40.886 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.031) 0:01:40.919 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.064) 0:01:40.983 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.577) 0:01:41.561 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.068) 0:01:41.630 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.033) 0:01:41.664 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:47:58 -0400 (0:00:00.032) 0:01:41.696 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:47:59 -0400 (0:00:00.594) 0:01:42.291 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:47:59 -0400 (0:00:00.031) 0:01:42.322 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:47:59 -0400 (0:00:00.036) 0:01:42.359 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:47:59 -0400 (0:00:00.077) 0:01:42.437 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:47:59 -0400 (0:00:00.032) 0:01:42.469 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:48:00 -0400 (0:00:00.370) 0:01:42.840 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:48:00 -0400 (0:00:00.037) 0:01:42.877 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:48:00 -0400 (0:00:00.068) 0:01:42.945 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:48:00 -0400 (0:00:00.062) 0:01:43.008 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:48:00 -0400 (0:00:00.056) 0:01:43.065 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:48:00 -0400 (0:00:00.036) 0:01:43.102 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:48:00 -0400 (0:00:00.036) 0:01:43.138 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:48:02 -0400 (0:00:01.842) 0:01:44.980 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:48:02 -0400 (0:00:00.729) 0:01:45.710 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.037) 0:01:45.747 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.032) 0:01:45.780 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.076) 0:01:45.856 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.065) 0:01:45.921 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.063) 0:01:45.984 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.053) 0:01:46.038 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.060) 0:01:46.099 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.090) 0:01:46.190 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.032) 0:01:46.222 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.032) 0:01:46.255 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:48:03 -0400 (0:00:00.061) 0:01:46.317 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.566) 0:01:46.884 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.065) 0:01:46.949 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.032) 0:01:46.982 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.031) 0:01:47.013 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.537) 0:01:47.551 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.032) 0:01:47.583 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.036) 0:01:47.619 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f7daab3-eaca-4440-8001-24410b3854dd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.035) 0:01:47.655 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:48:04 -0400 (0:00:00.033) 0:01:47.688 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:48:05 -0400 (0:00:00.421) 0:01:48.109 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:48:05 -0400 (0:00:00.073) 0:01:48.183 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:48:05 -0400 (0:00:00.062) 0:01:48.246 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:48:05 -0400 (0:00:00.058) 0:01:48.304 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:48:05 -0400 (0:00:00.037) 0:01:48.342 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:48:05 -0400 (0:00:00.037) 0:01:48.379 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:48:07 -0400 (0:00:01.814) 0:01:50.194 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.713) 0:01:50.907 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.036) 0:01:50.943 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.033) 0:01:50.977 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.031) 0:01:51.008 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.066) 0:01:51.075 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.062) 0:01:51.137 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.163) 0:01:51.301 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.062) 0:01:51.364 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.088) 0:01:51.453 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.034) 0:01:51.488 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.032) 0:01:51.520 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:48:08 -0400 (0:00:00.064) 0:01:51.584 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:48:09 -0400 (0:00:00.577) 0:01:52.162 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:48:09 -0400 (0:00:00.059) 0:01:52.222 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:48:09 -0400 (0:00:00.033) 0:01:52.255 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:48:09 -0400 (0:00:00.031) 0:01:52.286 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.627) 0:01:52.913 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.032) 0:01:52.946 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.035) 0:01:52.982 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.036) 0:01:53.019 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.030) 0:01:53.049 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.371) 0:01:53.420 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.100) 0:01:53.520 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.071) 0:01:53.591 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.063) 0:01:53.655 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:48:10 -0400 (0:00:00.062) 0:01:53.717 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:48:11 -0400 (0:00:00.038) 0:01:53.756 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:48:11 -0400 (0:00:00.043) 0:01:53.800 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:48:12 -0400 (0:00:01.816) 0:01:55.616 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:48:13 -0400 (0:00:00.713) 0:01:56.330 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:48:13 -0400 (0:00:00.039) 0:01:56.369 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:48:13 -0400 (0:00:00.032) 0:01:56.402 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:48:13 -0400 (0:00:00.033) 0:01:56.435 ***** skipping: [managed-node2] => { "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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:48:13 -0400 (0:00:00.064) 0:01:56.500 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:48:13 -0400 (0:00:00.069) 0:01:56.569 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:48:13 -0400 (0:00:00.055) 0:01:56.624 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.176) 0:01:56.801 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.097) 0:01:56.898 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.032) 0:01:56.931 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.034) 0:01:56.965 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.061) 0:01:57.027 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.568) 0:01:57.595 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.062) 0:01:57.657 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.032) 0:01:57.690 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:48:14 -0400 (0:00:00.034) 0:01:57.724 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:48:15 -0400 (0:00:00.540) 0:01:58.265 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:48:15 -0400 (0:00:00.033) 0:01:58.298 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:48:15 -0400 (0:00:00.037) 0:01:58.335 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:48:15 -0400 (0:00:00.036) 0:01:58.372 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:48:15 -0400 (0:00:00.032) 0:01:58.404 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:48:16 -0400 (0:00:00.364) 0:01:58.769 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:48:16 -0400 (0:00:00.072) 0:01:58.842 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:48:16 -0400 (0:00:00.099) 0:01:58.941 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:48:16 -0400 (0:00:00.035) 0:01:58.976 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:48:16 -0400 (0:00:00.362) 0:01:59.339 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:48:16 -0400 (0:00:00.031) 0:01:59.371 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018073", "end": "2024-11-02 08:48:16.938100", "rc": 1, "start": "2024-11-02 08:48:16.920027" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.379) 0:01:59.750 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.033) 0:01:59.784 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.035) 0:01:59.820 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.040) 0:01:59.860 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.035) 0:01:59.895 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.034) 0:01:59.929 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.036) 0:01:59.966 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.167087", "end": "2024-11-02 08:48:17.678723", "rc": 0, "start": "2024-11-02 08:48:17.511636" } STDOUT: NetworkManager-1.51.2-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.525) 0:02:00.491 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.035) 0:02:00.527 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.036) 0:02:00.563 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.082) 0:02:00.645 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:48:17 -0400 (0:00:00.051) 0:02:00.697 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:48:18 -0400 (0:00:00.400) 0:02:01.098 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:48:18 -0400 (0:00:00.037) 0:02:01.135 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:48:18 -0400 (0:00:00.035) 0:02:01.171 ***** included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:48:18 -0400 (0:00:00.065) 0:02:01.236 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036499", "end": "2024-11-02 08:48:18.813700", "rc": 1, "start": "2024-11-02 08:48:18.777201" } 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 02 November 2024 08:48:18 -0400 (0:00:00.388) 0:02:01.625 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009174", "end": "2024-11-02 08:48:19.172398", "rc": 0, "start": "2024-11-02 08:48:19.163224" } 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 0a:ff:ef:09:78:29 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.12.45/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3007sec preferred_lft 3007sec inet6 fe80::8ff:efff:fe09:7829/64 scope link noprefixroute valid_lft forever preferred_lft forever 29: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 7a:ec:b2:5b:54:bf 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.12.1 dev eth0 proto dhcp src 10.31.12.45 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.45 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-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 02 November 2024 08:48:19 -0400 (0:00:00.356) 0:02:01.981 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.091604", "end": "2024-11-02 08:48:19.622349", "rc": 0, "start": "2024-11-02 08:48:19.530745" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 6655 0 --:--:-- --:--:-- --:--:-- 6777 % 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 13338 0 --:--:-- --:--:-- --:--:-- 13857 PLAY RECAP ********************************************************************* managed-node2 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Saturday 02 November 2024 08:48:19 -0400 (0:00:00.501) 0:02:02.483 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.20s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-L7P/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-L7P/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-L7P/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-L7P/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-L7P/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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-L7P/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-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.92s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 0.90s /tmp/collections-L7P/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3