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-Xlx 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-Xlx/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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 26 October 2024 08:47:52 -0400 (0:00:00.008) 0:00:00.008 ****** [WARNING]: Platform linux on host managed-node3 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-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 26 October 2024 08:47:54 -0400 (0:00:01.328) 0:00:01.336 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 26 October 2024 08:47:54 -0400 (0:00:00.020) 0:00:01.356 ****** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 26 October 2024 08:47:54 -0400 (0:00:00.567) 0:00:01.923 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.614) 0:00:02.537 ****** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.038) 0:00:02.576 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.025) 0:00:02.601 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.066) 0:00:02.668 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.018) 0:00:02.686 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.017) 0:00:02.703 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.014) 0:00:02.718 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.018) 0:00:02.736 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.013) 0:00:02.750 ****** ok: [managed-node3] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 26 October 2024 08:47:55 -0400 (0:00:00.038) 0:00:02.789 ****** ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 26 October 2024 08:47:56 -0400 (0:00:00.920) 0:00:03.709 ****** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 26 October 2024 08:47:56 -0400 (0:00:00.029) 0:00:03.738 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:47:56 -0400 (0:00:00.039) 0:00:03.777 ****** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:47:56 -0400 (0:00:00.026) 0:00:03.804 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:47:56 -0400 (0:00:00.085) 0:00:03.890 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:47:56 -0400 (0:00:00.035) 0:00:03.925 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:47:56 -0400 (0:00:00.031) 0:00:03.957 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003898", "end": "2024-10-26 08:47:57.348385", "rc": 0, "start": "2024-10-26 08:47:57.344487" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:47:57 -0400 (0:00:00.512) 0:00:04.469 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:47:57 -0400 (0:00:00.018) 0:00:04.488 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:47:57 -0400 (0:00:00.018) 0:00:04.506 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:47:57 -0400 (0:00:00.028) 0:00:04.535 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008144", "end": "2024-10-26 08:47:57.782917", "rc": 1, "start": "2024-10-26 08:47:57.774773" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:47:57 -0400 (0:00:00.378) 0:00:04.913 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:47:57 -0400 (0:00:00.033) 0:00:04.947 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.401) 0:00:05.349 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.030) 0:00:05.379 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.043) 0:00:05.423 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.121) 0:00:05.544 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.053) 0:00:05.598 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.054) 0:00:05.652 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.031) 0:00:05.684 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:47:58 -0400 (0:00:00.028) 0:00:05.713 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:00 -0400 (0:00:02.145) 0:00:07.858 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:01 -0400 (0:00:01.070) 0:00:08.929 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:01 -0400 (0:00:00.037) 0:00:08.966 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:01 -0400 (0:00:00.034) 0:00:09.001 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:01 -0400 (0:00:00.035) 0:00:09.037 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.101) 0:00:09.138 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.108) 0:00:09.246 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.097) 0:00:09.344 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.115) 0:00:09.459 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.150) 0:00:09.610 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.088) 0:00:09.698 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.044) 0:00:09.742 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:02 -0400 (0:00:00.090) 0:00:09.833 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:03 -0400 (0:00:00.995) 0:00:10.828 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:03 -0400 (0:00:00.064) 0:00:10.892 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:03 -0400 (0:00:00.039) 0:00:10.932 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:03 -0400 (0:00:00.050) 0:00:10.982 ****** changed: [managed-node3] => { "_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, 208ab3b0-7ee8-4560-86f2-f0d076306e58 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:04 -0400 (0:00:00.988) 0:00:11.970 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:04 -0400 (0:00:00.034) 0:00:12.005 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 208ab3b0-7ee8-4560-86f2-f0d076306e58" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:04 -0400 (0:00:00.037) 0:00:12.042 ****** ok: [managed-node3] => { "__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, 208ab3b0-7ee8-4560-86f2-f0d076306e58\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 208ab3b0-7ee8-4560-86f2-f0d076306e58" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.039) 0:00:12.082 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.033) 0:00:12.116 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.480) 0:00:12.596 ****** ok: [managed-node3] => { "__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, 208ab3b0-7ee8-4560-86f2-f0d076306e58\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 208ab3b0-7ee8-4560-86f2-f0d076306e58" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.047) 0:00:12.644 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.100) 0:00:12.744 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.171) 0:00:12.915 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:48:05 -0400 (0:00:00.051) 0:00:12.966 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.405) 0:00:13.372 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.036) 0:00:13.408 ****** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019548", "end": "2024-10-26 08:48:06.688622", "rc": 0, "start": "2024-10-26 08:48:06.669074" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.420) 0:00:13.828 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.038) 0:00:13.866 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.054) 0:00:13.921 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.036) 0:00:13.957 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.034) 0:00:13.991 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.035) 0:00:14.026 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:48:06 -0400 (0:00:00.038) 0:00:14.065 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.040) 0:00:14.105 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.041) 0:00:14.146 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.118) 0:00:14.265 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.084) 0:00:14.350 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729946884.7780638, "block_size": 4096, "blocks": 0, "ctime": 1729946884.7780638, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31958, "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": 1729946884.7780638, "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.429) 0:00:14.779 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.056) 0:00:14.835 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:48:07 -0400 (0:00:00.116) 0:00:14.952 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.156) 0:00:15.109 ****** fatal: [managed-node3]: 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.063176", "end": "2024-10-26 08:48:08.456145", "rc": 1, "start": "2024-10-26 08:48:08.392969" } STDOUT: Connection 'statebr' (208ab3b0-7ee8-4560-86f2-f0d076306e58) 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.486) 0:00:15.595 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.063) 0:00:15.658 ****** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.037) 0:00:15.696 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.076) 0:00:15.772 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.077) 0:00:15.850 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:48:08 -0400 (0:00:00.094) 0:00:15.945 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003389", "end": "2024-10-26 08:48:09.249889", "rc": 0, "start": "2024-10-26 08:48:09.246500" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:48:09 -0400 (0:00:00.487) 0:00:16.432 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:48:09 -0400 (0:00:00.076) 0:00:16.509 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:48:09 -0400 (0:00:00.056) 0:00:16.566 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:48:09 -0400 (0:00:00.106) 0:00:16.673 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006551", "end": "2024-10-26 08:48:09.947102", "rc": 1, "start": "2024-10-26 08:48:09.940551" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:48:10 -0400 (0:00:00.476) 0:00:17.149 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:10 -0400 (0:00:00.186) 0:00:17.336 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:48:10 -0400 (0:00:00.444) 0:00:17.781 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:48:10 -0400 (0:00:00.108) 0:00:17.890 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 26 October 2024 08:48:10 -0400 (0:00:00.138) 0:00:18.028 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:11 -0400 (0:00:00.131) 0:00:18.160 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:11 -0400 (0:00:00.150) 0:00:18.310 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:11 -0400 (0:00:00.087) 0:00:18.398 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:11 -0400 (0:00:00.044) 0:00:18.443 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:11 -0400 (0:00:00.050) 0:00:18.493 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:13 -0400 (0:00:01.954) 0:00:20.447 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.946) 0:00:21.394 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.089) 0:00:21.484 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.078) 0:00:21.563 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.038) 0:00:21.602 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.065) 0:00:21.668 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.091) 0:00:21.760 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.081) 0:00:21.842 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:14 -0400 (0:00:00.113) 0:00:21.955 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.142) 0:00:22.098 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.055) 0:00:22.153 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.055) 0:00:22.209 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.096) 0:00:22.305 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:15 -0400 (0:00:00.717) 0:00:23.023 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.071) 0:00:23.095 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.033) 0:00:23.128 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.036) 0:00:23.164 ****** changed: [managed-node3] => { "_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, b40ac90e-8a6f-4d4c-92df-133949547843 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.629) 0:00:23.794 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.066) 0:00:23.861 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b40ac90e-8a6f-4d4c-92df-133949547843" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.062) 0:00:23.923 ****** ok: [managed-node3] => { "__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, b40ac90e-8a6f-4d4c-92df-133949547843\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b40ac90e-8a6f-4d4c-92df-133949547843" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:16 -0400 (0:00:00.074) 0:00:23.998 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.217) 0:00:24.216 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.515) 0:00:24.731 ****** ok: [managed-node3] => { "__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, b40ac90e-8a6f-4d4c-92df-133949547843\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b40ac90e-8a6f-4d4c-92df-133949547843" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.040) 0:00:24.772 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.097) 0:00:24.870 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:17 -0400 (0:00:00.064) 0:00:24.934 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.377) 0:00:25.312 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.039) 0:00:25.351 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.061) 0:00:25.413 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.037) 0:00:25.450 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.433) 0:00:25.884 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:48:18 -0400 (0:00:00.059) 0:00:25.943 ****** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019080", "end": "2024-10-26 08:48:19.232048", "rc": 0, "start": "2024-10-26 08:48:19.212968" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.488) 0:00:26.432 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.099) 0:00:26.531 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.060) 0:00:26.592 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.058) 0:00:26.650 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.081) 0:00:26.732 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.041) 0:00:26.774 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.060) 0:00:26.835 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.064) 0:00:26.900 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.056) 0:00:26.957 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:48:19 -0400 (0:00:00.077) 0:00:27.034 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.054) 0:00:27.089 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.110) 0:00:27.199 ****** fatal: [managed-node3]: 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.036851", "end": "2024-10-26 08:48:20.509289", "rc": 1, "start": "2024-10-26 08:48:20.472438" } STDOUT: Connection 'statebr' (b40ac90e-8a6f-4d4c-92df-133949547843) 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.505) 0:00:27.704 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.149) 0:00:27.854 ****** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.060) 0:00:27.914 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:48:20 -0400 (0:00:00.114) 0:00:28.028 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.091) 0:00:28.120 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.126) 0:00:28.247 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003845", "end": "2024-10-26 08:48:21.558334", "rc": 0, "start": "2024-10-26 08:48:21.554489" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.471) 0:00:28.718 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.133) 0:00:28.852 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.073) 0:00:28.926 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:48:21 -0400 (0:00:00.122) 0:00:29.049 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:22 -0400 (0:00:00.132) 0:00:29.181 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:22 -0400 (0:00:00.106) 0:00:29.288 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:22 -0400 (0:00:00.094) 0:00:29.383 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:22 -0400 (0:00:00.060) 0:00:29.444 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:22 -0400 (0:00:00.057) 0:00:29.501 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:24 -0400 (0:00:01.939) 0:00:31.441 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.953) 0:00:32.395 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.099) 0:00:32.494 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.097) 0:00:32.591 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.157) 0:00:32.749 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:25 -0400 (0:00:00.203) 0:00:32.952 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.116) 0:00:33.069 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.062) 0:00:33.131 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.073) 0:00:33.205 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.096) 0:00:33.302 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.035) 0:00:33.337 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.034) 0:00:33.372 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.064) 0:00:33.437 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:26 -0400 (0:00:00.619) 0:00:34.056 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.079) 0:00:34.135 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.036) 0:00:34.172 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.034) 0:00:34.206 ****** changed: [managed-node3] => { "_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, a4361b4a-d645-47b7-9b3d-6aaf48d1991c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.637) 0:00:34.844 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.035) 0:00:34.879 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4361b4a-d645-47b7-9b3d-6aaf48d1991c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.048) 0:00:34.928 ****** ok: [managed-node3] => { "__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, a4361b4a-d645-47b7-9b3d-6aaf48d1991c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4361b4a-d645-47b7-9b3d-6aaf48d1991c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.066) 0:00:34.995 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:27 -0400 (0:00:00.066) 0:00:35.061 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.528) 0:00:35.590 ****** ok: [managed-node3] => { "__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, a4361b4a-d645-47b7-9b3d-6aaf48d1991c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4361b4a-d645-47b7-9b3d-6aaf48d1991c" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.068) 0:00:35.659 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.124) 0:00:35.784 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.143) 0:00:35.928 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:28 -0400 (0:00:00.110) 0:00:36.038 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.098) 0:00:36.136 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.063) 0:00:36.200 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:29 -0400 (0:00:00.061) 0:00:36.261 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:31 -0400 (0:00:02.029) 0:00:38.291 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:32 -0400 (0:00:01.051) 0:00:39.343 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:32 -0400 (0:00:00.076) 0:00:39.419 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:32 -0400 (0:00:00.064) 0:00:39.483 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:32 -0400 (0:00:00.131) 0:00:39.615 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:32 -0400 (0:00:00.101) 0:00:39.716 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:32 -0400 (0:00:00.071) 0:00:39.787 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:32 -0400 (0:00:00.057) 0:00:39.845 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:32 -0400 (0:00:00.102) 0:00:39.948 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:33 -0400 (0:00:00.119) 0:00:40.067 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:33 -0400 (0:00:00.036) 0:00:40.104 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:33 -0400 (0:00:00.035) 0:00:40.139 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:33 -0400 (0:00:00.067) 0:00:40.207 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:33 -0400 (0:00:00.647) 0:00:40.855 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:33 -0400 (0:00:00.090) 0:00:40.945 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:33 -0400 (0:00:00.077) 0:00:41.022 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.089) 0:00:41.112 ****** ok: [managed-node3] => { "_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, a4361b4a-d645-47b7-9b3d-6aaf48d1991c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.642) 0:00:41.755 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.041) 0:00:41.797 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4361b4a-d645-47b7-9b3d-6aaf48d1991c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.044) 0:00:41.841 ****** ok: [managed-node3] => { "__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, a4361b4a-d645-47b7-9b3d-6aaf48d1991c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4361b4a-d645-47b7-9b3d-6aaf48d1991c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.047) 0:00:41.889 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:34 -0400 (0:00:00.037) 0:00:41.926 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.445) 0:00:42.372 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.071) 0:00:42.443 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.068) 0:00:42.511 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729946907.6546643, "block_size": 4096, "blocks": 0, "ctime": 1729946907.6546643, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32083, "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": 1729946907.6546643, "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.411) 0:00:42.923 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.047) 0:00:42.971 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:48:35 -0400 (0:00:00.068) 0:00:43.039 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.037) 0:00:43.076 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.401) 0:00:43.478 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.035) 0:00:43.513 ****** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019256", "end": "2024-10-26 08:48:36.781272", "rc": 0, "start": "2024-10-26 08:48:36.762016" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.427) 0:00:43.940 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.067) 0:00:44.008 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:48:36 -0400 (0:00:00.052) 0:00:44.061 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.038) 0:00:44.100 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.036) 0:00:44.136 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.052) 0:00:44.189 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.080) 0:00:44.270 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.046) 0:00:44.317 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.048) 0:00:44.366 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.057) 0:00:44.423 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.038) 0:00:44.462 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.067) 0:00:44.529 ****** fatal: [managed-node3]: 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.067599", "end": "2024-10-26 08:48:37.863913", "rc": 1, "start": "2024-10-26 08:48:37.796314" } STDOUT: Connection 'statebr' (a4361b4a-d645-47b7-9b3d-6aaf48d1991c) 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 26 October 2024 08:48:37 -0400 (0:00:00.482) 0:00:45.011 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.095) 0:00:45.107 ****** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.055) 0:00:45.162 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.109) 0:00:45.272 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.056) 0:00:45.329 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.054) 0:00:45.384 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003353", "end": "2024-10-26 08:48:38.654479", "rc": 0, "start": "2024-10-26 08:48:38.651126" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.417) 0:00:45.801 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.065) 0:00:45.867 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.106) 0:00:45.974 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:48:38 -0400 (0:00:00.076) 0:00:46.050 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:39 -0400 (0:00:00.078) 0:00:46.128 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:39 -0400 (0:00:00.076) 0:00:46.205 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:39 -0400 (0:00:00.113) 0:00:46.318 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:39 -0400 (0:00:00.064) 0:00:46.382 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:39 -0400 (0:00:00.066) 0:00:46.449 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:41 -0400 (0:00:01.988) 0:00:48.438 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.977) 0:00:49.415 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.078) 0:00:49.494 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.092) 0:00:49.587 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.080) 0:00:49.668 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.077) 0:00:49.746 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.152) 0:00:49.899 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.057) 0:00:49.956 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:42 -0400 (0:00:00.064) 0:00:50.021 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.098) 0:00:50.120 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.035) 0:00:50.156 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.036) 0:00:50.193 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.081) 0:00:50.274 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:43 -0400 (0:00:00.747) 0:00:51.022 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.123) 0:00:51.145 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.063) 0:00:51.208 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.072) 0:00:51.281 ****** changed: [managed-node3] => { "_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, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:44 -0400 (0:00:00.779) 0:00:52.060 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.048) 0:00:52.109 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.045) 0:00:52.155 ****** ok: [managed-node3] => { "__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, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.048) 0:00:52.203 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.038) 0:00:52.242 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.447) 0:00:52.690 ****** ok: [managed-node3] => { "__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, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.109) 0:00:52.799 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.111) 0:00:52.910 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:45 -0400 (0:00:00.134) 0:00:53.045 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.148) 0:00:53.193 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.072) 0:00:53.266 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:46 -0400 (0:00:00.060) 0:00:53.326 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:48 -0400 (0:00:01.926) 0:00:55.253 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:48 -0400 (0:00:00.783) 0:00:56.036 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.055) 0:00:56.092 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.052) 0:00:56.144 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.057) 0:00:56.202 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.102) 0:00:56.304 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.105) 0:00:56.410 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.084) 0:00:56.495 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.214) 0:00:56.709 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.143) 0:00:56.852 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.039) 0:00:56.892 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.041) 0:00:56.934 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:49 -0400 (0:00:00.066) 0:00:57.000 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.661) 0:00:57.662 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.158) 0:00:57.820 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.084) 0:00:57.904 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:50 -0400 (0:00:00.071) 0:00:57.976 ****** ok: [managed-node3] => { "_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, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.711) 0:00:58.687 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.041) 0:00:58.729 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.043) 0:00:58.773 ****** ok: [managed-node3] => { "__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, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bb372f9-4bd4-4ea5-ae0f-4d75cec55990 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.039) 0:00:58.812 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:51 -0400 (0:00:00.035) 0:00:58.848 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.448) 0:00:59.296 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.082) 0:00:59.379 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.135) 0:00:59.515 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.071) 0:00:59.586 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.061) 0:00:59.647 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.040) 0:00:59.688 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:48:52 -0400 (0:00:00.040) 0:00:59.728 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:48:54 -0400 (0:00:01.935) 0:01:01.664 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:48:55 -0400 (0:00:00.866) 0:01:02.531 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:48:55 -0400 (0:00:00.039) 0:01:02.570 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:48:55 -0400 (0:00:00.043) 0:01:02.614 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:48:55 -0400 (0:00:00.056) 0:01:02.670 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:48:55 -0400 (0:00:00.107) 0:01:02.777 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:48:55 -0400 (0:00:00.138) 0:01:02.916 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:48:55 -0400 (0:00:00.147) 0:01:03.063 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:48:56 -0400 (0:00:00.209) 0:01:03.273 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:48:56 -0400 (0:00:00.138) 0:01:03.412 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:48:56 -0400 (0:00:00.055) 0:01:03.468 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:48:56 -0400 (0:00:00.068) 0:01:03.536 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:48:56 -0400 (0:00:00.096) 0:01:03.633 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.653) 0:01:04.286 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.086) 0:01:04.372 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.040) 0:01:04.413 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:48:57 -0400 (0:00:00.040) 0:01:04.453 ****** changed: [managed-node3] => { "_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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.670) 0:01:05.124 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.089) 0:01:05.214 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.097) 0:01:05.311 ****** ok: [managed-node3] => { "__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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.072) 0:01:05.383 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.040) 0:01:05.423 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.437) 0:01:05.861 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.096) 0:01:05.958 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:48:58 -0400 (0:00:00.108) 0:01:06.066 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729946924.828017, "block_size": 4096, "blocks": 0, "ctime": 1729946924.828017, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32208, "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": 1729946924.828017, "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.385) 0:01:06.452 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.039) 0:01:06.491 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.067) 0:01:06.559 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.052) 0:01:06.611 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.403) 0:01:07.015 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:48:59 -0400 (0:00:00.044) 0:01:07.059 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018707", "end": "2024-10-26 08:49:00.386891", "rc": 1, "start": "2024-10-26 08:49:00.368184" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.472) 0:01:07.532 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.040) 0:01:07.573 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.042) 0:01:07.615 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.038) 0:01:07.654 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.035) 0:01:07.690 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.036) 0:01:07.726 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.037) 0:01:07.763 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.054) 0:01:07.817 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.043) 0:01:07.861 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:49:00 -0400 (0:00:00.097) 0:01:07.958 ****** ok: [managed-node3] => { "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.055472", "end": "2024-10-26 08:49:01.281391", "rc": 0, "start": "2024-10-26 08:49:01.225919" } STDOUT: Connection 'statebr' (0bb372f9-4bd4-4ea5-ae0f-4d75cec55990) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 26 October 2024 08:49:01 -0400 (0:00:00.546) 0:01:08.505 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:49:01 -0400 (0:00:00.087) 0:01:08.592 ****** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:49:01 -0400 (0:00:00.058) 0:01:08.650 ****** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:49:01 -0400 (0:00:00.110) 0:01:08.761 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:49:01 -0400 (0:00:00.094) 0:01:08.855 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:49:01 -0400 (0:00:00.071) 0:01:08.927 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003974", "end": "2024-10-26 08:49:02.176929", "rc": 0, "start": "2024-10-26 08:49:02.172955" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:49:02 -0400 (0:00:00.391) 0:01:09.318 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:49:02 -0400 (0:00:00.040) 0:01:09.359 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:49:02 -0400 (0:00:00.055) 0:01:09.414 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:49:02 -0400 (0:00:00.114) 0:01:09.529 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:02 -0400 (0:00:00.185) 0:01:09.714 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:02 -0400 (0:00:00.258) 0:01:09.973 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.106) 0:01:10.080 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.062) 0:01:10.142 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:03 -0400 (0:00:00.060) 0:01:10.202 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:05 -0400 (0:00:01.942) 0:01:12.144 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:05 -0400 (0:00:00.843) 0:01:12.988 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:05 -0400 (0:00:00.070) 0:01:13.059 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.093) 0:01:13.153 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.067) 0:01:13.220 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.109) 0:01:13.329 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.114) 0:01:13.444 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.094) 0:01:13.538 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.124) 0:01:13.662 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.176) 0:01:13.839 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.098) 0:01:13.937 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:06 -0400 (0:00:00.077) 0:01:14.014 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.239) 0:01:14.254 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:07 -0400 (0:00:00.791) 0:01:15.045 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.174) 0:01:15.220 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.098) 0:01:15.319 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:08 -0400 (0:00:00.079) 0:01:15.398 ****** changed: [managed-node3] => { "_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, 04ad9012-79b6-4166-adde-5ba8744c47fc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.844) 0:01:16.242 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.102) 0:01:16.345 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ad9012-79b6-4166-adde-5ba8744c47fc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.077) 0:01:16.423 ****** ok: [managed-node3] => { "__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, 04ad9012-79b6-4166-adde-5ba8744c47fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ad9012-79b6-4166-adde-5ba8744c47fc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.061) 0:01:16.484 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.064) 0:01:16.549 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.427) 0:01:16.976 ****** ok: [managed-node3] => { "__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, 04ad9012-79b6-4166-adde-5ba8744c47fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04ad9012-79b6-4166-adde-5ba8744c47fc" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:49:09 -0400 (0:00:00.040) 0:01:17.017 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.080) 0:01:17.097 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.123) 0:01:17.221 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.098) 0:01:17.319 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.115) 0:01:17.434 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:10 -0400 (0:00:00.063) 0:01:17.498 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:12 -0400 (0:00:01.954) 0:01:19.453 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.917) 0:01:20.370 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.081) 0:01:20.452 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.053) 0:01:20.505 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.058) 0:01:20.563 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.105) 0:01:20.669 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.093) 0:01:20.763 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.072) 0:01:20.836 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:13 -0400 (0:00:00.099) 0:01:20.936 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.211) 0:01:21.147 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.068) 0:01:21.216 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.061) 0:01:21.277 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.113) 0:01:21.391 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:14 -0400 (0:00:00.641) 0:01:22.033 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:15 -0400 (0:00:00.246) 0:01:22.279 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:15 -0400 (0:00:00.066) 0:01:22.346 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:15 -0400 (0:00:00.087) 0:01:22.434 ****** ok: [managed-node3] => { "_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, 04ad9012-79b6-4166-adde-5ba8744c47fc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.724) 0:01:23.158 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.056) 0:01:23.214 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04ad9012-79b6-4166-adde-5ba8744c47fc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.066) 0:01:23.281 ****** ok: [managed-node3] => { "__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, 04ad9012-79b6-4166-adde-5ba8744c47fc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04ad9012-79b6-4166-adde-5ba8744c47fc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.064) 0:01:23.346 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.059) 0:01:23.405 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.467) 0:01:23.873 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:16 -0400 (0:00:00.132) 0:01:24.005 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:17 -0400 (0:00:00.134) 0:01:24.140 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:17 -0400 (0:00:00.101) 0:01:24.241 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:17 -0400 (0:00:00.063) 0:01:24.305 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:17 -0400 (0:00:00.067) 0:01:24.373 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:19 -0400 (0:00:01.941) 0:01:26.314 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.831) 0:01:27.146 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.049) 0:01:27.195 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.042) 0:01:27.238 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.034) 0:01:27.273 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.068) 0:01:27.341 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.067) 0:01:27.409 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.069) 0:01:27.479 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.100) 0:01:27.579 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.145) 0:01:27.724 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.051) 0:01:27.776 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.038) 0:01:27.815 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:20 -0400 (0:00:00.079) 0:01:27.895 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.613) 0:01:28.508 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.064) 0:01:28.573 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.041) 0:01:28.615 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:21 -0400 (0:00:00.046) 0:01:28.661 ****** changed: [managed-node3] => { "_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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.767) 0:01:29.429 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.036) 0:01:29.465 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.039) 0:01:29.504 ****** ok: [managed-node3] => { "__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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.045) 0:01:29.550 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.050) 0:01:29.600 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:49:22 -0400 (0:00:00.414) 0:01:30.015 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:49:23 -0400 (0:00:00.064) 0:01:30.079 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:23 -0400 (0:00:00.080) 0:01:30.159 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:23 -0400 (0:00:00.076) 0:01:30.236 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:23 -0400 (0:00:00.065) 0:01:30.301 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:23 -0400 (0:00:00.044) 0:01:30.346 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:23 -0400 (0:00:00.042) 0:01:30.388 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:25 -0400 (0:00:01.925) 0:01:32.313 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.966) 0:01:33.280 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.065) 0:01:33.345 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.057) 0:01:33.402 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.057) 0:01:33.459 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.077) 0:01:33.537 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.071) 0:01:33.608 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.058) 0:01:33.666 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.064) 0:01:33.731 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.097) 0:01:33.828 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.045) 0:01:33.873 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.054) 0:01:33.928 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:26 -0400 (0:00:00.099) 0:01:34.027 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.681) 0:01:34.709 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.082) 0:01:34.791 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.040) 0:01:34.832 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:27 -0400 (0:00:00.035) 0:01:34.868 ****** changed: [managed-node3] => { "_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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.726) 0:01:35.594 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.101) 0:01:35.696 ****** ok: [managed-node3] => { "__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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.064) 0:01:35.760 ****** ok: [managed-node3] => { "__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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.063) 0:01:35.824 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:28 -0400 (0:00:00.045) 0:01:35.869 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.425) 0:01:36.295 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.068) 0:01:36.363 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.064) 0:01:36.427 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.038) 0:01:36.465 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.401) 0:01:36.867 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:49:29 -0400 (0:00:00.057) 0:01:36.925 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018061", "end": "2024-10-26 08:49:30.202185", "rc": 1, "start": "2024-10-26 08:49:30.184124" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.417) 0:01:37.342 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.036) 0:01:37.378 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.037) 0:01:37.416 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.036) 0:01:37.452 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.035) 0:01:37.488 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.077) 0:01:37.565 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.040) 0:01:37.606 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.091) 0:01:37.697 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:49:30 -0400 (0:00:00.058) 0:01:37.756 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.384) 0:01:38.140 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.043) 0:01:38.183 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.038) 0:01:38.222 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.069) 0:01:38.292 ****** fatal: [managed-node3]: 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.036441", "end": "2024-10-26 08:49:31.578612", "rc": 1, "start": "2024-10-26 08:49:31.542171" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.425) 0:01:38.717 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.063) 0:01:38.781 ****** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.037) 0:01:38.819 ****** ok: [managed-node3] => (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-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.074) 0:01:38.893 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.058) 0:01:38.952 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:49:31 -0400 (0:00:00.096) 0:01:39.048 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003427", "end": "2024-10-26 08:49:32.294212", "rc": 0, "start": "2024-10-26 08:49:32.290785" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.385) 0:01:39.434 ****** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.038) 0:01:39.472 ****** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.039) 0:01:39.512 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.069) 0:01:39.582 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.079) 0:01:39.661 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.069) 0:01:39.731 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.061) 0:01:39.793 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.040) 0:01:39.834 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:32 -0400 (0:00:00.040) 0:01:39.874 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:34 -0400 (0:00:01.890) 0:01:41.765 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.825) 0:01:42.590 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.083) 0:01:42.673 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.037) 0:01:42.711 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.034) 0:01:42.746 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.070) 0:01:42.816 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.066) 0:01:42.883 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.059) 0:01:42.942 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:35 -0400 (0:00:00.063) 0:01:43.006 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.097) 0:01:43.103 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.037) 0:01:43.141 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.035) 0:01:43.176 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.069) 0:01:43.245 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.615) 0:01:43.860 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.063) 0:01:43.924 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.037) 0:01:43.961 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:36 -0400 (0:00:00.035) 0:01:43.997 ****** changed: [managed-node3] => { "_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, 803df3ae-81fa-42cf-a8b8-8ef507846200 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.609) 0:01:44.606 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.035) 0:01:44.641 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 803df3ae-81fa-42cf-a8b8-8ef507846200" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.040) 0:01:44.682 ****** ok: [managed-node3] => { "__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, 803df3ae-81fa-42cf-a8b8-8ef507846200\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 803df3ae-81fa-42cf-a8b8-8ef507846200" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.084) 0:01:44.766 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:37 -0400 (0:00:00.036) 0:01:44.803 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.399) 0:01:45.203 ****** ok: [managed-node3] => { "__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, 803df3ae-81fa-42cf-a8b8-8ef507846200\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 803df3ae-81fa-42cf-a8b8-8ef507846200" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.041) 0:01:45.244 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.078) 0:01:45.322 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.076) 0:01:45.399 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.062) 0:01:45.461 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.043) 0:01:45.504 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:38 -0400 (0:00:00.041) 0:01:45.546 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:40 -0400 (0:00:01.924) 0:01:47.471 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.770) 0:01:48.241 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.039) 0:01:48.281 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.035) 0:01:48.316 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.079) 0:01:48.396 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.073) 0:01:48.470 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.066) 0:01:48.536 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.057) 0:01:48.594 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.064) 0:01:48.659 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.098) 0:01:48.757 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.034) 0:01:48.792 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.037) 0:01:48.829 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:41 -0400 (0:00:00.067) 0:01:48.896 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:42 -0400 (0:00:00.609) 0:01:49.506 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:42 -0400 (0:00:00.068) 0:01:49.574 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:42 -0400 (0:00:00.035) 0:01:49.610 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:42 -0400 (0:00:00.034) 0:01:49.644 ****** ok: [managed-node3] => { "_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, 803df3ae-81fa-42cf-a8b8-8ef507846200 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.576) 0:01:50.221 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.035) 0:01:50.256 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 803df3ae-81fa-42cf-a8b8-8ef507846200 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.041) 0:01:50.298 ****** ok: [managed-node3] => { "__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, 803df3ae-81fa-42cf-a8b8-8ef507846200 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 803df3ae-81fa-42cf-a8b8-8ef507846200 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.044) 0:01:50.342 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.042) 0:01:50.384 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.491) 0:01:50.876 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:43 -0400 (0:00:00.104) 0:01:50.980 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.112) 0:01:51.093 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.095) 0:01:51.189 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.062) 0:01:51.251 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:44 -0400 (0:00:00.050) 0:01:51.302 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:46 -0400 (0:00:01.902) 0:01:53.205 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:46 -0400 (0:00:00.772) 0:01:53.977 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:46 -0400 (0:00:00.039) 0:01:54.016 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:46 -0400 (0:00:00.036) 0:01:54.053 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.034) 0:01:54.088 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.070) 0:01:54.158 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.066) 0:01:54.225 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.159) 0:01:54.384 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.067) 0:01:54.452 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.100) 0:01:54.552 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.036) 0:01:54.589 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.034) 0:01:54.624 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:47 -0400 (0:00:00.068) 0:01:54.692 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:48 -0400 (0:00:00.612) 0:01:55.304 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:48 -0400 (0:00:00.064) 0:01:55.369 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:48 -0400 (0:00:00.035) 0:01:55.405 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:48 -0400 (0:00:00.035) 0:01:55.440 ****** changed: [managed-node3] => { "_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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.670) 0:01:56.111 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.036) 0:01:56.148 ****** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.039) 0:01:56.187 ****** ok: [managed-node3] => { "__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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.041) 0:01:56.229 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.035) 0:01:56.265 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.399) 0:01:56.664 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.107) 0:01:56.772 ****** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.077) 0:01:56.850 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.069) 0:01:56.919 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.063) 0:01:56.983 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.041) 0:01:57.024 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:49:49 -0400 (0:00:00.040) 0:01:57.064 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:49:51 -0400 (0:00:01.918) 0:01:58.983 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.772) 0:01:59.755 ****** ok: [managed-node3] => {} 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.040) 0:01:59.795 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.035) 0:01:59.831 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.037) 0:01:59.868 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.065) 0:01:59.934 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.071) 0:02:00.005 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:49:52 -0400 (0:00:00.056) 0:02:00.062 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.174) 0:02:00.236 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.097) 0:02:00.333 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.035) 0:02:00.369 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.036) 0:02:00.405 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:49:53 -0400 (0:00:00.066) 0:02:00.471 ****** ok: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.613) 0:02:01.084 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.066) 0:02:01.151 ****** skipping: [managed-node3] => { "censored": "the output 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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.035) 0:02:01.187 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.036) 0:02:01.224 ****** ok: [managed-node3] => { "_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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.581) 0:02:01.805 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.036) 0:02:01.842 ****** ok: [managed-node3] => { "__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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.041) 0:02:01.883 ****** ok: [managed-node3] => { "__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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.040) 0:02:01.923 ****** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:49:54 -0400 (0:00:00.036) 0:02:01.960 ****** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.395) 0:02:02.355 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.074) 0:02:02.429 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.109) 0:02:02.539 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.039) 0:02:02.579 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.386) 0:02:02.966 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:49:55 -0400 (0:00:00.035) 0:02:03.001 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018161", "end": "2024-10-26 08:49:56.259850", "rc": 1, "start": "2024-10-26 08:49:56.241689" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.402) 0:02:03.403 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.038) 0:02:03.441 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.040) 0:02:03.481 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.037) 0:02:03.519 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.039) 0:02:03.559 ****** skipping: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.038) 0:02:03.598 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 26 October 2024 08:49:56 -0400 (0:00:00.048) 0:02:03.646 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.172022", "end": "2024-10-26 08:49:57.059457", "rc": 0, "start": "2024-10-26 08:49:56.887435" } STDOUT: NetworkManager-1.51.2-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.554) 0:02:04.201 ****** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.038) 0:02:04.239 ****** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.040) 0:02:04.280 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.089) 0:02:04.369 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.060) 0:02:04.429 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.426) 0:02:04.856 ****** ok: [managed-node3] => { "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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.040) 0:02:04.896 ****** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.038) 0:02:04.935 ****** included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:49:57 -0400 (0:00:00.073) 0:02:05.009 ****** fatal: [managed-node3]: 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.034974", "end": "2024-10-26 08:49:58.292033", "rc": 1, "start": "2024-10-26 08:49:58.257059" } 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.424) 0:02:05.433 ****** ok: [managed-node3] => { "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.009486", "end": "2024-10-26 08:49:58.685456", "rc": 0, "start": "2024-10-26 08:49:58.675970" } 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:c2:ac:70:07 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.241/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2769sec preferred_lft 2769sec inet6 fe80::8ff:c2ff:feac:7007/64 scope link noprefixroute valid_lft forever preferred_lft forever 33: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ee:c0:62:2e:f2:76 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.15.241 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.241 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-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 26 October 2024 08:49:58 -0400 (0:00:00.391) 0:02:05.825 ****** ok: [managed-node3] => { "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.277343", "end": "2024-10-26 08:49:59.354106", "rc": 0, "start": "2024-10-26 08:49:59.076763" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 1420 0 --:--:-- --:--:-- --:--:-- 1425 % 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 7653 0 --:--:-- --:--:-- --:--:-- 7864 PLAY RECAP ********************************************************************* managed-node3 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Saturday 26 October 2024 08:49:59 -0400 (0:00:00.730) 0:02:06.556 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.15s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.03s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-Xlx/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-Xlx/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-Xlx/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-Xlx/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-Xlx/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-Xlx/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-Xlx/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-Xlx/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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-Xlx/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-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.33s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.00s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.99s /tmp/collections-Xlx/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159