ansible-playbook [core 2.17.9] 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-npB executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.12) jinja version = 3.1.5 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_mac_address_match_nm.yml *************************************** 2 plays in /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_mac_address_match_nm.yml PLAY [Run playbook 'playbooks/tests_mac_address_match.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_mac_address_match_nm.yml:6 Friday 14 March 2025 10:29:08 -0400 (0:00:00.021) 0:00:00.021 ********** [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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_mac_address_match_nm.yml:9 Friday 14 March 2025 10:29:10 -0400 (0:00:01.826) 0:00:01.848 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 14 March 2025 10:29:10 -0400 (0:00:00.114) 0:00:01.962 ********** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 14 March 2025 10:29:11 -0400 (0:00:00.772) 0:00:02.735 ********** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 14 March 2025 10:29:11 -0400 (0:00:00.750) 0:00:03.485 ********** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 14 March 2025 10:29:12 -0400 (0:00:00.096) 0:00:03.581 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 14 March 2025 10:29:12 -0400 (0:00:00.049) 0:00:03.631 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 14 March 2025 10:29:12 -0400 (0:00:00.145) 0:00:03.776 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 14 March 2025 10:29:12 -0400 (0:00:00.048) 0:00:03.825 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 14 March 2025 10:29:12 -0400 (0:00:00.035) 0:00:03.861 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 14 March 2025 10:29:12 -0400 (0:00:00.052) 0:00:03.914 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 14 March 2025 10:29:12 -0400 (0:00:00.046) 0:00:03.960 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_mac_address_match_nm.yml:11 Friday 14 March 2025 10:29:12 -0400 (0:00:00.040) 0:00:04.001 ********** ok: [managed-node3] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing MAC address match on device] **************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:3 Friday 14 March 2025 10:29:12 -0400 (0:00:00.036) 0:00:04.038 ********** ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:29 Friday 14 March 2025 10:29:13 -0400 (0:00:01.056) 0:00:05.094 ********** ok: [managed-node3] => {} MSG: this is: playbooks/tests_mac_address_match.yml TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:35 Friday 14 March 2025 10:29:13 -0400 (0:00:00.073) 0:00:05.167 ********** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve MAC address using ethtool] ************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:41 Friday 14 March 2025 10:29:14 -0400 (0:00:01.252) 0:00:06.420 ********** ok: [managed-node3] => { "changed": false, "cmd": [ "ethtool", "-P", "eth1" ], "delta": "0:00:00.003374", "end": "2025-03-14 10:29:15.646751", "failed_when_result": false, "rc": 0, "start": "2025-03-14 10:29:15.643377" } STDOUT: Permanent address: 0e:ca:d5:f9:44:b9 TASK [Set the MAC address variable] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:47 Friday 14 March 2025 10:29:15 -0400 (0:00:00.901) 0:00:07.321 ********** ok: [managed-node3] => { "ansible_facts": { "mac": "0e:ca:d5:f9:44:b9" }, "changed": false } TASK [Display the retrieved MAC address] *************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:51 Friday 14 March 2025 10:29:15 -0400 (0:00:00.070) 0:00:07.392 ********** ok: [managed-node3] => {} MSG: Retrieved MAC address for eth1: 0e:ca:d5:f9:44:b9 TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:59 Friday 14 March 2025 10:29:15 -0400 (0:00:00.165) 0:00:07.557 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: Test MAC address match on device] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 14 March 2025 10:29:16 -0400 (0:00:00.065) 0:00:07.622 ********** ok: [managed-node3] => {} MSG: ########## Test MAC address match on device ########## TASK [Show item] *************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 14 March 2025 10:29:16 -0400 (0:00:00.048) 0:00:07.671 ********** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Test MAC address match on device" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/find+remove_profile.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_mac_address_match.yml", "tasks/create_mac_address_match.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml", "tasks/assert_network_connections_succeeded.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_vlan_and_parent_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 14 March 2025 10:29:16 -0400 (0:00:00.115) 0:00:07.787 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:29:16 -0400 (0:00:00.036) 0:00:07.823 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:29:16 -0400 (0:00:00.034) 0:00:07.858 ********** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003246", "end": "2025-03-14 10:29:16.644658", "rc": 0, "start": "2025-03-14 10:29:16.641412" } STDOUT: bonding_masters eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:29:16 -0400 (0:00:00.410) 0:00:08.269 ********** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "eth1", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:29:16 -0400 (0:00:00.020) 0:00:08.290 ********** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'eth1', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 14 March 2025 10:29:16 -0400 (0:00:00.019) 0:00:08.309 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/find+remove_profile.yml for managed-node3 => (item=tasks/find+remove_profile.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Get connection profile for 'eth1'] *************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/find+remove_profile.yml:3 Friday 14 March 2025 10:29:16 -0400 (0:00:00.055) 0:00:08.365 ********** ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "-g", "GENERAL.CONNECTION", "device", "show", "eth1" ], "delta": "0:00:00.016589", "end": "2025-03-14 10:29:17.114378", "rc": 0, "start": "2025-03-14 10:29:17.097789" } STDOUT: cloud-init eth1 TASK [Bring down and delete the connection profile for 'eth1'] ***************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/find+remove_profile.yml:8 Friday 14 March 2025 10:29:17 -0400 (0:00:00.378) 0:00:08.743 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:17 -0400 (0:00:00.048) 0:00:08.792 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:17 -0400 (0:00:00.044) 0:00:08.837 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:17 -0400 (0:00:00.030) 0:00:08.867 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:17 -0400 (0:00:00.032) 0:00:08.900 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:17 -0400 (0:00:00.030) 0:00:08.931 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:19 -0400 (0:00:02.166) 0:00:11.097 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:21 -0400 (0:00:01.777) 0:00:12.875 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:21 -0400 (0:00:00.092) 0:00:12.967 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:21 -0400 (0:00:00.051) 0:00:13.019 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:21 -0400 (0:00:00.113) 0:00:13.132 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:21 -0400 (0:00:00.177) 0:00:13.309 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:21 -0400 (0:00:00.138) 0:00:13.447 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:21 -0400 (0:00:00.083) 0:00:13.531 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:22 -0400 (0:00:00.093) 0:00:13.624 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:22 -0400 (0:00:00.344) 0:00:13.969 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:22 -0400 (0:00:00.113) 0:00:14.083 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:22 -0400 (0:00:00.159) 0:00:14.242 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:22 -0400 (0:00:00.109) 0:00:14.351 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:24 -0400 (0:00:01.226) 0:00:15.578 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:24 -0400 (0:00:00.057) 0:00:15.636 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:24 -0400 (0:00:00.043) 0:00:15.679 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:24 -0400 (0:00:00.041) 0:00:15.721 ********** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "cloud-init eth1", "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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:25 -0400 (0:00:01.181) 0:00:16.903 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:25 -0400 (0:00:00.057) 0:00:16.960 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:25 -0400 (0:00:00.078) 0:00:17.038 ********** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "cloud-init eth1", "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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:25 -0400 (0:00:00.079) 0:00:17.118 ********** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:25 -0400 (0:00:00.099) 0:00:17.217 ********** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 14 March 2025 10:29:26 -0400 (0:00:00.642) 0:00:17.859 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:29:26 -0400 (0:00:00.174) 0:00:18.034 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:29:26 -0400 (0:00:00.119) 0:00:18.154 ********** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:29:27 -0400 (0:00:00.500) 0:00:18.654 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:29:27 -0400 (0:00:00.106) 0:00:18.760 ********** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep eth1 | grep /etc", "delta": "0:00:00.016960", "end": "2025-03-14 10:29:27.607720", "rc": 1, "start": "2025-03-14 10:29:27.590760" } 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:29:27 -0400 (0:00:00.605) 0:00:19.365 ********** 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-eth1] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:29:27 -0400 (0:00:00.104) 0:00:19.469 ********** 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-eth1] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:29:28 -0400 (0:00:00.108) 0:00:19.578 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-eth1] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:29:28 -0400 (0:00:00.080) 0:00:19.658 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-eth1] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:29:28 -0400 (0:00:00.076) 0:00:19.734 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'eth1'] ****************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 14 March 2025 10:29:28 -0400 (0:00:00.046) 0:00:19.781 ********** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 14 March 2025 10:29:28 -0400 (0:00:00.051) 0:00:19.833 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_mac_address_match.yml for managed-node3 => (item=tasks/create_mac_address_match.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_mac_address_match.yml for managed-node3 => (item=tasks/create_mac_address_match.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_mac_address_match.yml:3 Friday 14 March 2025 10:29:28 -0400 (0:00:00.085) 0:00:19.919 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:28 -0400 (0:00:00.070) 0:00:19.990 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:28 -0400 (0:00:00.066) 0:00:20.056 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:28 -0400 (0:00:00.046) 0:00:20.103 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:28 -0400 (0:00:00.052) 0:00:20.156 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:28 -0400 (0:00:00.073) 0:00:20.229 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:30 -0400 (0:00:02.025) 0:00:22.255 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:31 -0400 (0:00:01.026) 0:00:23.281 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:31 -0400 (0:00:00.061) 0:00:23.343 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:31 -0400 (0:00:00.055) 0:00:23.399 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:31 -0400 (0:00:00.053) 0:00:23.452 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:31 -0400 (0:00:00.092) 0:00:23.544 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:32 -0400 (0:00:00.100) 0:00:23.644 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:32 -0400 (0:00:00.038) 0:00:23.683 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:32 -0400 (0:00:00.075) 0:00:23.758 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:32 -0400 (0:00:00.121) 0:00:23.880 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:32 -0400 (0:00:00.034) 0:00:23.914 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:32 -0400 (0:00:00.040) 0:00:23.955 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:32 -0400 (0:00:00.066) 0:00:24.022 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:33 -0400 (0:00:00.652) 0:00:24.674 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:33 -0400 (0:00:00.062) 0:00:24.737 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:33 -0400 (0:00:00.033) 0:00:24.770 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:33 -0400 (0:00:00.033) 0:00:24.803 ********** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "eth1", "ip": { "auto6": false, "dhcp4": false }, "mac": "0e:ca:d5:f9:44:b9", "name": "eth1", "persistent_state": "present", "state": "up", "type": "ethernet" }, { "autoconnect": true, "ip": { "address": "10.10.0.6/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.0.1" }, "name": "eth1.3732", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 3732 } }, { "autoconnect": true, "ip": { "address": "10.10.120.120/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.120.1" }, "name": "120-vlan", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 120 } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'eth1': add connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da [008] #1, state:up persistent_state:present, 'eth1.3732': add connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 [009] #2, state:up persistent_state:present, '120-vlan': add connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c [010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da (is-modified) [011] #0, state:up persistent_state:present, 'eth1': connection reapplied [012] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 (is-modified) [013] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:34 -0400 (0:00:00.956) 0:00:25.759 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:34 -0400 (0:00:00.078) 0:00:25.838 ********** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'eth1': add connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da", "[008] #1, state:up persistent_state:present, 'eth1.3732': add connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82", "[009] #2, state:up persistent_state:present, '120-vlan': add connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c", "[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da (is-modified)", "[011] #0, state:up persistent_state:present, 'eth1': connection reapplied", "[012] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 (is-modified)", "[013] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:34 -0400 (0:00:00.050) 0:00:25.888 ********** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "eth1", "ip": { "auto6": false, "dhcp4": false }, "mac": "0e:ca:d5:f9:44:b9", "name": "eth1", "persistent_state": "present", "state": "up", "type": "ethernet" }, { "autoconnect": true, "ip": { "address": "10.10.0.6/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.0.1" }, "name": "eth1.3732", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 3732 } }, { "autoconnect": true, "ip": { "address": "10.10.120.120/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.120.1" }, "name": "120-vlan", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 120 } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'eth1': add connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da\n[008] #1, state:up persistent_state:present, 'eth1.3732': add connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82\n[009] #2, state:up persistent_state:present, '120-vlan': add connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c\n[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da (is-modified)\n[011] #0, state:up persistent_state:present, 'eth1': connection reapplied\n[012] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 (is-modified)\n[013] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c (is-modified)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'eth1': add connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da", "[008] #1, state:up persistent_state:present, 'eth1.3732': add connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82", "[009] #2, state:up persistent_state:present, '120-vlan': add connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c", "[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da (is-modified)", "[011] #0, state:up persistent_state:present, 'eth1': connection reapplied", "[012] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 (is-modified)", "[013] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:34 -0400 (0:00:00.039) 0:00:25.928 ********** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:34 -0400 (0:00:00.031) 0:00:25.959 ********** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_mac_address_match.yml:48 Friday 14 March 2025 10:29:34 -0400 (0:00:00.427) 0:00:26.387 ********** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "eth1", "ip": { "auto6": false, "dhcp4": false }, "mac": "0e:ca:d5:f9:44:b9", "name": "eth1", "persistent_state": "present", "state": "up", "type": "ethernet" }, { "autoconnect": true, "ip": { "address": "10.10.0.6/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.0.1" }, "name": "eth1.3732", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 3732 } }, { "autoconnect": true, "ip": { "address": "10.10.120.120/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.120.1" }, "name": "120-vlan", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 120 } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'eth1': add connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da\n[008] #1, state:up persistent_state:present, 'eth1.3732': add connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82\n[009] #2, state:up persistent_state:present, '120-vlan': add connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c\n[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da (is-modified)\n[011] #0, state:up persistent_state:present, 'eth1': connection reapplied\n[012] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 (is-modified)\n[013] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c (is-modified)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'eth1': add connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da", "[008] #1, state:up persistent_state:present, 'eth1.3732': add connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82", "[009] #2, state:up persistent_state:present, '120-vlan': add connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c", "[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da (is-modified)", "[011] #0, state:up persistent_state:present, 'eth1': connection reapplied", "[012] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 (is-modified)", "[013] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c (is-modified)" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_mac_address_match.yml:3 Friday 14 March 2025 10:29:34 -0400 (0:00:00.060) 0:00:26.448 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:34 -0400 (0:00:00.120) 0:00:26.568 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:35 -0400 (0:00:00.104) 0:00:26.672 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:35 -0400 (0:00:00.068) 0:00:26.740 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:35 -0400 (0:00:00.064) 0:00:26.804 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:35 -0400 (0:00:00.063) 0:00:26.868 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:37 -0400 (0:00:01.870) 0:00:28.738 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:38 -0400 (0:00:00.946) 0:00:29.684 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:38 -0400 (0:00:00.088) 0:00:29.773 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:38 -0400 (0:00:00.039) 0:00:29.812 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:38 -0400 (0:00:00.032) 0:00:29.845 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:38 -0400 (0:00:00.055) 0:00:29.900 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:38 -0400 (0:00:00.061) 0:00:29.962 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:38 -0400 (0:00:00.035) 0:00:29.998 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:38 -0400 (0:00:00.100) 0:00:30.099 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:38 -0400 (0:00:00.152) 0:00:30.251 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:38 -0400 (0:00:00.039) 0:00:30.291 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:38 -0400 (0:00:00.031) 0:00:30.322 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:38 -0400 (0:00:00.060) 0:00:30.383 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:39 -0400 (0:00:00.642) 0:00:31.026 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:39 -0400 (0:00:00.080) 0:00:31.107 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:39 -0400 (0:00:00.034) 0:00:31.141 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:39 -0400 (0:00:00.031) 0:00:31.172 ********** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "eth1", "ip": { "auto6": false, "dhcp4": false }, "mac": "0e:ca:d5:f9:44:b9", "name": "eth1", "persistent_state": "present", "state": "up", "type": "ethernet" }, { "autoconnect": true, "ip": { "address": "10.10.0.6/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.0.1" }, "name": "eth1.3732", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 3732 } }, { "autoconnect": true, "ip": { "address": "10.10.120.120/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.120.1" }, "name": "120-vlan", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 120 } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [007] #0, state:up persistent_state:present, 'eth1': connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da already up to date [008] #1, state:up persistent_state:present, 'eth1.3732': connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 already up to date [009] #2, state:up persistent_state:present, '120-vlan': connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c already up to date [010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da skipped because already active [011] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 skipped because already active [012] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:40 -0400 (0:00:00.605) 0:00:31.778 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:40 -0400 (0:00:00.041) 0:00:31.820 ********** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'eth1': connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da already up to date", "[008] #1, state:up persistent_state:present, 'eth1.3732': connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 already up to date", "[009] #2, state:up persistent_state:present, '120-vlan': connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c already up to date", "[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da skipped because already active", "[011] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 skipped because already active", "[012] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:40 -0400 (0:00:00.040) 0:00:31.861 ********** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "eth1", "ip": { "auto6": false, "dhcp4": false }, "mac": "0e:ca:d5:f9:44:b9", "name": "eth1", "persistent_state": "present", "state": "up", "type": "ethernet" }, { "autoconnect": true, "ip": { "address": "10.10.0.6/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.0.1" }, "name": "eth1.3732", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 3732 } }, { "autoconnect": true, "ip": { "address": "10.10.120.120/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.120.1" }, "name": "120-vlan", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 120 } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'eth1': connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da already up to date\n[008] #1, state:up persistent_state:present, 'eth1.3732': connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 already up to date\n[009] #2, state:up persistent_state:present, '120-vlan': connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c already up to date\n[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da skipped because already active\n[011] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 skipped because already active\n[012] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c skipped because already active\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'eth1': connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da already up to date", "[008] #1, state:up persistent_state:present, 'eth1.3732': connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 already up to date", "[009] #2, state:up persistent_state:present, '120-vlan': connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c already up to date", "[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da skipped because already active", "[011] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 skipped because already active", "[012] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:40 -0400 (0:00:00.039) 0:00:31.901 ********** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:40 -0400 (0:00:00.076) 0:00:31.977 ********** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_mac_address_match.yml:48 Friday 14 March 2025 10:29:40 -0400 (0:00:00.437) 0:00:32.415 ********** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "eth1", "ip": { "auto6": false, "dhcp4": false }, "mac": "0e:ca:d5:f9:44:b9", "name": "eth1", "persistent_state": "present", "state": "up", "type": "ethernet" }, { "autoconnect": true, "ip": { "address": "10.10.0.6/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.0.1" }, "name": "eth1.3732", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 3732 } }, { "autoconnect": true, "ip": { "address": "10.10.120.120/24", "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "10.10.120.1" }, "name": "120-vlan", "parent": "eth1", "persistent_state": "present", "state": "up", "type": "vlan", "vlan": { "id": 120 } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'eth1': connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da already up to date\n[008] #1, state:up persistent_state:present, 'eth1.3732': connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 already up to date\n[009] #2, state:up persistent_state:present, '120-vlan': connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c already up to date\n[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da skipped because already active\n[011] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 skipped because already active\n[012] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c skipped because already active\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'eth1': connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da already up to date", "[008] #1, state:up persistent_state:present, 'eth1.3732': connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 already up to date", "[009] #2, state:up persistent_state:present, '120-vlan': connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c already up to date", "[010] #0, state:up persistent_state:present, 'eth1': up connection eth1, e71c440e-83d1-4b41-af24-40582bfab3da skipped because already active", "[011] #1, state:up persistent_state:present, 'eth1.3732': up connection eth1.3732, c459efa0-ea4c-4dd7-a2b4-6c3e85a97c82 skipped because already active", "[012] #2, state:up persistent_state:present, '120-vlan': up connection 120-vlan, 6135f45c-c3ce-442b-a005-62f923953a7c skipped because already active" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 14 March 2025 10:29:40 -0400 (0:00:00.063) 0:00:32.478 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_network_connections_succeeded.yml for managed-node3 => (item=tasks/assert_network_connections_succeeded.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 14 March 2025 10:29:41 -0400 (0:00:00.110) 0:00:32.589 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 14 March 2025 10:29:41 -0400 (0:00:00.080) 0:00:32.669 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 14 March 2025 10:29:41 -0400 (0:00:00.043) 0:00:32.713 ********** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 14 March 2025 10:29:41 -0400 (0:00:00.378) 0:00:33.091 ********** 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 14 March 2025 10:29:41 -0400 (0:00:00.035) 0:00:33.127 ********** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep eth1 | grep /etc", "delta": "0:00:00.020164", "end": "2025-03-14 10:29:41.880402", "rc": 0, "start": "2025-03-14 10:29:41.860238" } STDOUT: eth1.3732 /etc/NetworkManager/system-connections/eth1.3732.nmconnection eth1 /etc/NetworkManager/system-connections/eth1.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:29:41 -0400 (0:00:00.393) 0:00:33.520 ********** 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-eth1] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 14 March 2025 10:29:41 -0400 (0:00:00.038) 0:00:33.559 ********** 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-eth1] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 14 March 2025 10:29:42 -0400 (0:00:00.036) 0:00:33.595 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-eth1] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 14 March 2025 10:29:42 -0400 (0:00:00.034) 0:00:33.630 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-eth1] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 14 March 2025 10:29:42 -0400 (0:00:00.036) 0:00:33.666 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'eth1'] ***************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 14 March 2025 10:29:42 -0400 (0:00:00.035) 0:00:33.701 ********** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'eth1'] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 14 March 2025 10:29:42 -0400 (0:00:00.041) 0:00:33.742 ********** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in eth1] ****************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 14 March 2025 10:29:42 -0400 (0:00:00.084) 0:00:33.827 ********** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that configuring network connections is succeeded] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_network_connections_succeeded.yml:3 Friday 14 March 2025 10:29:42 -0400 (0:00:00.038) 0:00:33.866 ********** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 14 March 2025 10:29:42 -0400 (0:00:00.037) 0:00:33.903 ********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'Test MAC address match on device'] ********************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 14 March 2025 10:29:42 -0400 (0:00:00.031) 0:00:33.935 ********** ok: [managed-node3] => {} MSG: +++++ Success in test 'Test MAC address match on device' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 14 March 2025 10:29:42 -0400 (0:00:00.037) 0:00:33.972 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_vlan_and_parent_profile+device.yml for managed-node3 => (item=tasks/cleanup_vlan_and_parent_profile+device.yml) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 => (item=tasks/check_network_dns.yml) TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:29:42 -0400 (0:00:00.092) 0:00:34.064 ********** included: /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:29:42 -0400 (0:00:00.065) 0:00:34.129 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:29:42 -0400 (0:00:00.048) 0:00:34.177 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:29:42 -0400 (0:00:00.037) 0:00:34.215 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:29:42 -0400 (0:00:00.039) 0:00:34.255 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:29:44 -0400 (0:00:01.870) 0:00:36.125 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:29:45 -0400 (0:00:00.809) 0:00:36.935 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:29:45 -0400 (0:00:00.036) 0:00:36.971 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:29:45 -0400 (0:00:00.033) 0:00:37.005 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:29:45 -0400 (0:00:00.074) 0:00:37.080 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:29:45 -0400 (0:00:00.051) 0:00:37.131 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:29:45 -0400 (0:00:00.057) 0:00:37.188 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:29:45 -0400 (0:00:00.043) 0:00:37.232 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:29:45 -0400 (0:00:00.076) 0:00:37.308 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:29:45 -0400 (0:00:00.158) 0:00:37.467 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:29:45 -0400 (0:00:00.055) 0:00:37.522 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:29:45 -0400 (0:00:00.042) 0:00:37.564 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:29:46 -0400 (0:00:00.063) 0:00:37.628 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:29:46 -0400 (0:00:00.625) 0:00:38.253 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:29:46 -0400 (0:00:00.075) 0:00:38.329 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:29:46 -0400 (0:00:00.038) 0:00:38.367 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:29:46 -0400 (0:00:00.039) 0:00:38.407 ********** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "eth1", "persistent_state": "absent", "state": "down" }, { "name": "eth1.3732", "persistent_state": "absent", "state": "down" }, { "name": "120-vlan", "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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 14 March 2025 10:29:47 -0400 (0:00:00.776) 0:00:39.183 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 14 March 2025 10:29:47 -0400 (0:00:00.032) 0:00:39.215 ********** 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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 14 March 2025 10:29:47 -0400 (0:00:00.044) 0:00:39.259 ********** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "eth1", "persistent_state": "absent", "state": "down" }, { "name": "eth1.3732", "persistent_state": "absent", "state": "down" }, { "name": "120-vlan", "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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 14 March 2025 10:29:47 -0400 (0:00:00.038) 0:00:39.298 ********** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 14 March 2025 10:29:47 -0400 (0:00:00.031) 0:00:39.330 ********** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Delete the device 'eth1'] ************************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_vlan_and_parent_profile+device.yml:22 Friday 14 March 2025 10:29:48 -0400 (0:00:00.426) 0:00:39.757 ********** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "eth1" ], "delta": "0:00:00.003771", "end": "2025-03-14 10:29:48.487425", "failed_when_result": false, "rc": 2, "start": "2025-03-14 10:29:48.483654" } STDERR: RTNETLINK answers: Operation not supported MSG: non-zero return code TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 14 March 2025 10:29:48 -0400 (0:00:00.386) 0:00:40.143 ********** 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.008756", "end": "2025-03-14 10:29:48.887260", "rc": 0, "start": "2025-03-14 10:29:48.878504" } 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 0e:72:29:4a:d8:bd brd ff:ff:ff:ff:ff:ff altname enX0 altname enx0e72294ad8bd inet 10.31.42.122/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2726sec preferred_lft 2726sec inet6 fe80::c72:29ff:fe4a:d8bd/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: eth1: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 0e:ca:d5:f9:44:b9 brd ff:ff:ff:ff:ff:ff altname enX1 altname enx0ecad5f944b9 IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.122 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.122 metric 100 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-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 14 March 2025 10:29:48 -0400 (0:00:00.382) 0:00:40.526 ********** 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.099743", "end": "2025-03-14 10:29:49.360760", "rc": 0, "start": "2025-03-14 10:29:49.261017" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 6964 0 --:--:-- --:--:-- --:--:-- 7093 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 8258 0 --:--:-- --:--:-- --:--:-- 8314 PLAY RECAP ********************************************************************* managed-node3 : ok=89 changed=3 unreachable=0 failed=0 skipped=90 rescued=0 ignored=1 TASKS RECAP ******************************************************************** Friday 14 March 2025 10:29:49 -0400 (0:00:00.463) 0:00:40.990 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.17s /tmp/collections-npB/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-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.83s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_mac_address_match_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install ethtool (test dependency) --------------------------------------- 1.25s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:35 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.23s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.18s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 1.06s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.96s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Retrieve MAC address using ethtool -------------------------------------- 0.90s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_mac_address_match.yml:41 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gather the minimum subset of ansible_facts required by the network role test --- 0.77s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.75s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122