ansible-playbook [core 2.17.6] 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-9Wz 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_dummy_nm.yml *************************************************** 2 plays in /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_dummy_nm.yml PLAY [Run playbook 'playbooks/tests_dummy.yml' with nm as provider] ************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_dummy_nm.yml:6 Saturday 16 November 2024 12:23:39 -0500 (0:00:00.010) 0:00:00.010 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_dummy_nm.yml:9 Saturday 16 November 2024 12:23:40 -0500 (0:00:01.342) 0:00:01.353 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 16 November 2024 12:23:40 -0500 (0:00:00.061) 0:00:01.414 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 16 November 2024 12:23:41 -0500 (0:00:00.575) 0:00:01.990 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 16 November 2024 12:23:41 -0500 (0:00:00.645) 0:00:02.636 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 16 November 2024 12:23:41 -0500 (0:00:00.026) 0:00:02.663 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.021) 0:00:02.684 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.062) 0:00:02.746 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.020) 0:00:02.766 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.019) 0:00:02.786 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.018) 0:00:02.805 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.019) 0:00:02.825 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_dummy_nm.yml:11 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.018) 0:00:02.844 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing dummy connection] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_dummy.yml:3 Saturday 16 November 2024 12:23:42 -0500 (0:00:00.024) 0:00:02.868 ***** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_dummy.yml:13 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.917) 0:00:03.785 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_dummy.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_dummy.yml:23 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.017) 0:00:03.803 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: Create a dummy interface] ****************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.024) 0:00:03.828 ***** ok: [managed-node1] => {} MSG: ########## Create a dummy interface ########## TASK [Show item] *************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.021) 0:00:03.849 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a dummy interface" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_dummy_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml", "tasks/assert_device_present.yml", "tasks/assert_autoconnect_retries.yml", "tasks/assert_may_fail.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.070) 0:00:03.920 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.031) 0:00:03.951 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.026) 0:00:03.977 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003414", "end": "2024-11-16 12:23:43.710057", "rc": 0, "start": "2024-11-16 12:23:43.706643" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.455) 0:00:04.432 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.054) 0:00:04.486 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.022) 0:00:04.509 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 12:23:43 -0500 (0:00:00.030) 0:00:04.540 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "dummy0" ], "delta": "0:00:00.006877", "end": "2024-11-16 12:23:44.195770", "rc": 1, "start": "2024-11-16 12:23:44.188893" } STDERR: Cannot find device "dummy0" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.379) 0:00:04.919 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy0] ******************************************* task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.031) 0:00:04.950 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy0'] ************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.358) 0:00:05.309 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.021) 0:00:05.330 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_dummy_profile.yml for managed-node1 => (item=tasks/create_dummy_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_dummy_profile.yml:3 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.030) 0:00:05.361 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.066) 0:00:05.427 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.064) 0:00:05.492 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.090) 0:00:05.582 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:23:44 -0500 (0:00:00.044) 0:00:05.626 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:23:45 -0500 (0:00:00.048) 0:00:05.675 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:23:47 -0500 (0:00:02.131) 0:00:07.806 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:23:48 -0500 (0:00:01.038) 0:00:08.845 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.052) 0:00:08.898 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.057) 0:00:08.955 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.057) 0:00:09.013 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.099) 0:00:09.112 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.085) 0:00:09.198 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.056) 0:00:09.254 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.063) 0:00:09.318 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.084) 0:00:09.402 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.027) 0:00:09.430 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.050) 0:00:09.480 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:23:48 -0500 (0:00:00.074) 0:00:09.555 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:23:49 -0500 (0:00:01.090) 0:00:10.646 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:23:50 -0500 (0:00:00.059) 0:00:10.706 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:23:50 -0500 (0:00:00.030) 0:00:10.736 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:23:50 -0500 (0:00:00.055) 0:00:10.792 ***** fatal: [managed-node1]: FAILED! => {} MSG: Failed to connect to the host via ssh: OpenSSH_9.9p1, OpenSSL 3.2.2 4 Jun 2024 debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.9.101 originally 10.31.9.101 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.9.101 is address debug1: re-parsing configuration debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.9.101 originally 10.31.9.101 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: auto-mux: Trying existing master at '/root/.ansible/cp/49f3f2c91c' debug1: Control socket "/root/.ansible/cp/49f3f2c91c" does not exist debug1: Connecting to 10.31.9.101 [10.31.9.101] port 22. debug2: fd 3 setting O_NONBLOCK debug1: connect to address 10.31.9.101 port 22: Connection refused ssh: connect to host 10.31.9.101 port 22: Connection refused TASK [Failure in test 'Create a dummy interface'] ****************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:52 Saturday 16 November 2024 12:50:43 -0500 (0:26:53.555) 0:27:04.347 ***** ok: [managed-node1] => {} MSG: !!!!! Failure in test 'Create a dummy interface' !!!!! TASK [Show item that failed] *************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:56 Saturday 16 November 2024 12:50:43 -0500 (0:00:00.030) 0:27:04.378 ***** ok: [managed-node1] => (item=__network_connections_result) => { "__network_connections_result": { "failed": true, "msg": "Failed to connect to the host via ssh: OpenSSH_9.9p1, OpenSSL 3.2.2 4 Jun 2024\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.31.9.101 originally 10.31.9.101\r\ndebug2: match not found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 10.31.9.101 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.31.9.101 originally 10.31.9.101\r\ndebug2: match found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: auto-mux: Trying existing master at '/root/.ansible/cp/49f3f2c91c'\r\ndebug1: Control socket \"/root/.ansible/cp/49f3f2c91c\" does not exist\r\ndebug1: Connecting to 10.31.9.101 [10.31.9.101] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: connect to address 10.31.9.101 port 22: Connection refused\r\nssh: connect to host 10.31.9.101 port 22: Connection refused" }, "ansible_loop_var": "item", "item": "__network_connections_result" } TASK [Issue failed message] **************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:61 Saturday 16 November 2024 12:50:43 -0500 (0:00:00.052) 0:27:04.430 ***** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: !!!!! Failure in test 'Create a dummy interface' !!!!! TASK [Cleanup] ***************************************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:50:43 -0500 (0:00:00.035) 0:27:04.466 ***** included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:50:43 -0500 (0:00:00.057) 0:27:04.524 ***** fatal: [managed-node1]: UNREACHABLE! => { "changed": false, "unreachable": true } MSG: Failed to connect to the host via ssh: OpenSSH_9.9p1, OpenSSL 3.2.2 4 Jun 2024 debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.9.101 originally 10.31.9.101 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.9.101 is address debug1: re-parsing configuration debug1: Reading configuration data /root/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.9.101 originally 10.31.9.101 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: auto-mux: Trying existing master at '/root/.ansible/cp/49f3f2c91c' debug1: Control socket "/root/.ansible/cp/49f3f2c91c" does not exist debug1: Connecting to 10.31.9.101 [10.31.9.101] port 22. debug2: fd 3 setting O_NONBLOCK debug1: connect to address 10.31.9.101 port 22: Connection refused ssh: connect to host 10.31.9.101 port 22: Connection refused PLAY RECAP ********************************************************************* managed-node1 : ok=34 changed=0 unreachable=1 failed=1 skipped=22 rescued=1 ignored=1 Saturday 16 November 2024 12:50:43 -0500 (0:00:00.024) 0:27:04.548 ***** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles 1613.56s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tests_dummy_nm.yml:6 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.09s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_dummy.yml:3 Check if system is ostree ----------------------------------------------- 0.65s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather the minimum subset of ansible_facts required by the network role test --- 0.58s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.46s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Remove test interface if necessary -------------------------------------- 0.38s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Get stat for interface dummy0 ------------------------------------------- 0.36s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later --- 0.10s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.09s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces --- 0.09s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 fedora.linux_system_roles.network : Install packages -------------------- 0.08s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.08s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Show item --------------------------------------------------------------- 0.07s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Include network role ---------------------------------------------------- 0.07s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_dummy_profile.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 0.06s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.06s /tmp/collections-9Wz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60