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: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Friday 14 March 2025 10:21:58 -0400 (0:00:00.008) 0:00:00.008 ********** [WARNING]: Platform linux on host managed-node4 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-node4] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:9 Friday 14 March 2025 10:22:00 -0400 (0:00:02.783) 0:00:02.792 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node4 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:22:00 -0400 (0:00:00.033) 0:00:02.826 ********** ok: [managed-node4] 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:22:01 -0400 (0:00:00.592) 0:00:03.418 ********** ok: [managed-node4] => { "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:22:02 -0400 (0:00:00.751) 0:00:04.170 ********** ok: [managed-node4] => { "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:22:02 -0400 (0:00:00.068) 0:00:04.238 ********** skipping: [managed-node4] => { "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:22:02 -0400 (0:00:00.052) 0:00:04.290 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node4 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:22:02 -0400 (0:00:00.134) 0:00:04.426 ********** skipping: [managed-node4] => { "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:22:02 -0400 (0:00:00.037) 0:00:04.463 ********** skipping: [managed-node4] => { "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:22:02 -0400 (0:00:00.026) 0:00:04.489 ********** skipping: [managed-node4] => { "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:22:02 -0400 (0:00:00.026) 0:00:04.515 ********** skipping: [managed-node4] => { "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:22:02 -0400 (0:00:00.025) 0:00:04.541 ********** skipping: [managed-node4] => { "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_auto_gateway_nm.yml:11 Friday 14 March 2025 10:22:02 -0400 (0:00:00.028) 0:00:04.570 ********** ok: [managed-node4] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Friday 14 March 2025 10:22:02 -0400 (0:00:00.049) 0:00:04.620 ********** ok: [managed-node4] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Friday 14 March 2025 10:22:03 -0400 (0:00:00.946) 0:00:05.566 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 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:22:03 -0400 (0:00:00.181) 0:00:05.748 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 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:22:03 -0400 (0:00:00.077) 0:00:05.825 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2025-03-14 10:22:04.655461", "rc": 0, "start": "2025-03-14 10:22:04.652013" } STDOUT: 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:22:04 -0400 (0:00:00.908) 0:00:06.734 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "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:22:04 -0400 (0:00:00.104) 0:00:06.838 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Friday 14 March 2025 10:22:04 -0400 (0:00:00.099) 0:00:06.938 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node4 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:22:05 -0400 (0:00:00.268) 0:00:07.209 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:22:05 -0400 (0:00:00.067) 0:00:07.276 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:22:05 -0400 (0:00:00.064) 0:00:07.340 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 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:22:05 -0400 (0:00:00.104) 0:00:07.445 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 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:22:05 -0400 (0:00:00.088) 0:00:07.533 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003155", "end": "2025-03-14 10:22:06.054252", "rc": 0, "start": "2025-03-14 10:22:06.051097" } STDOUT: 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:22:06 -0400 (0:00:00.579) 0:00:08.115 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "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:22:06 -0400 (0:00:00.079) 0:00:08.195 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:22:06 -0400 (0:00:00.066) 0:00:08.262 ********** ok: [managed-node4] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:22:11 -0400 (0:00:05.312) 0:00:13.576 ********** ok: [managed-node4] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.012081", "end": "2025-03-14 10:22:12.029335", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2025-03-14 10:22:12.017254" } ok: [managed-node4] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003623", "end": "2025-03-14 10:22:12.561866", "item": "ip link set peerveth0 up", "rc": 0, "start": "2025-03-14 10:22:12.558243" } ok: [managed-node4] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003437", "end": "2025-03-14 10:22:13.051449", "item": "ip link set veth0 up", "rc": 0, "start": "2025-03-14 10:22:13.048012" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:22:13 -0400 (0:00:01.547) 0:00:15.123 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.027849", "end": "2025-03-14 10:22:13.664909", "rc": 0, "start": "2025-03-14 10:22:13.637060" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:22:13 -0400 (0:00:00.597) 0:00:15.723 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:22:13 -0400 (0:00:00.029) 0:00:15.752 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:22:13 -0400 (0:00:00.045) 0:00:15.798 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:22:13 -0400 (0:00:00.041) 0:00:15.840 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:22:13 -0400 (0:00:00.051) 0:00:15.892 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Friday 14 March 2025 10:22:14 -0400 (0:00:00.088) 0:00:15.980 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node4 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:22:14 -0400 (0:00:00.129) 0:00:16.110 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:22:14 -0400 (0:00:00.045) 0:00:16.156 ********** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1741962132.0282593, "block_size": 4096, "blocks": 0, "ctime": 1741962132.0282593, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1741962132.0282593, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:22:14 -0400 (0:00:00.444) 0:00:16.600 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Friday 14 March 2025 10:22:14 -0400 (0:00:00.077) 0:00:16.677 ********** ok: [managed-node4] => {} MSG: ################################################## 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:22:14 -0400 (0:00:00.083) 0:00:16.761 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 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:22:14 -0400 (0:00:00.143) 0:00:16.905 ********** skipping: [managed-node4] => { "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:22:15 -0400 (0:00:00.093) 0:00:16.998 ********** skipping: [managed-node4] => { "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:22:15 -0400 (0:00:00.068) 0:00:17.067 ********** skipping: [managed-node4] => { "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:22:15 -0400 (0:00:00.061) 0:00:17.128 ********** ok: [managed-node4] => { "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:22:17 -0400 (0:00:02.554) 0:00:19.683 ********** ok: [managed-node4] => { "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:22:19 -0400 (0:00:01.840) 0:00:21.524 ********** ok: [managed-node4] => {} 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:22:19 -0400 (0:00:00.102) 0:00:21.626 ********** skipping: [managed-node4] => { "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:22:19 -0400 (0:00:00.107) 0:00:21.733 ********** skipping: [managed-node4] => { "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:22:19 -0400 (0:00:00.069) 0:00:21.804 ********** skipping: [managed-node4] => { "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:22:20 -0400 (0:00:00.245) 0:00:22.049 ********** skipping: [managed-node4] => { "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:22:20 -0400 (0:00:00.312) 0:00:22.361 ********** skipping: [managed-node4] => { "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:22:20 -0400 (0:00:00.139) 0:00:22.501 ********** skipping: [managed-node4] => { "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:22:20 -0400 (0:00:00.186) 0:00:22.687 ********** skipping: [managed-node4] => { "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:22:20 -0400 (0:00:00.236) 0:00:22.924 ********** skipping: [managed-node4] => { "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:22:21 -0400 (0:00:00.120) 0:00:23.045 ********** skipping: [managed-node4] => { "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:22:21 -0400 (0:00:00.085) 0:00:23.130 ********** skipping: [managed-node4] => { "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:22:21 -0400 (0:00:00.138) 0:00:23.268 ********** ok: [managed-node4] => { "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:22:22 -0400 (0:00:01.490) 0:00:24.759 ********** skipping: [managed-node4] => { "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:22:23 -0400 (0:00:00.251) 0:00:25.011 ********** skipping: [managed-node4] => { "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:22:23 -0400 (0:00:00.083) 0:00:25.094 ********** skipping: [managed-node4] => { "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:22:23 -0400 (0:00:00.067) 0:00:25.162 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4 (not-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:22:24 -0400 (0:00:01.638) 0:00:26.800 ********** skipping: [managed-node4] => { "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:22:24 -0400 (0:00:00.151) 0:00:26.952 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4 (not-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:22:25 -0400 (0:00:00.170) 0:00:27.122 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e1f6c419-7263-44ec-addc-59cd771312f4 (not-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:22:25 -0400 (0:00:00.261) 0:00:27.384 ********** skipping: [managed-node4] => { "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:22:25 -0400 (0:00:00.242) 0:00:27.627 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Friday 14 March 2025 10:22:26 -0400 (0:00:01.029) 0:00:28.657 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node4 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:22:27 -0400 (0:00:00.411) 0:00:29.068 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:22:27 -0400 (0:00:00.385) 0:00:29.454 ********** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1741962132.0282593, "block_size": 4096, "blocks": 0, "ctime": 1741962132.0282593, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1741962132.0282593, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:22:28 -0400 (0:00:00.546) 0:00:30.000 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Friday 14 March 2025 10:22:28 -0400 (0:00:00.152) 0:00:30.153 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node4 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:22:28 -0400 (0:00:00.484) 0:00:30.637 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 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:22:28 -0400 (0:00:00.283) 0:00:30.921 ********** ok: [managed-node4] => { "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:22:29 -0400 (0:00:00.177) 0:00:31.099 ********** ok: [managed-node4] => { "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:22:29 -0400 (0:00:00.665) 0:00:31.764 ********** skipping: [managed-node4] => { "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:22:29 -0400 (0:00:00.128) 0:00:31.893 ********** ok: [managed-node4] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024497", "end": "2025-03-14 10:22:30.414410", "rc": 0, "start": "2025-03-14 10:22:30.389913" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.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:22:30 -0400 (0:00:00.643) 0:00:32.536 ********** ok: [managed-node4] => { "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-veth0] ************************** 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:22:30 -0400 (0:00:00.123) 0:00:32.659 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** 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:22:30 -0400 (0:00:00.099) 0:00:32.759 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** 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:22:30 -0400 (0:00:00.060) 0:00:32.820 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** 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:22:30 -0400 (0:00:00.063) 0:00:32.883 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** 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:22:30 -0400 (0:00:00.056) 0:00:32.940 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** 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:22:31 -0400 (0:00:00.106) 0:00:33.046 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** 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:22:31 -0400 (0:00:00.077) 0:00:33.123 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Friday 14 March 2025 10:22:31 -0400 (0:00:00.168) 0:00:33.292 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003617", "end": "2025-03-14 10:22:31.687735", "rc": 0, "start": "2025-03-14 10:22:31.684118" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.175 metric 100 default via 10.31.8.1 dev eth1 proto dhcp src 10.31.8.252 metric 101 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.175 metric 100 10.31.8.0/22 dev eth1 proto kernel scope link src 10.31.8.252 metric 101 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Friday 14 March 2025 10:22:31 -0400 (0:00:00.482) 0:00:33.774 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Friday 14 March 2025 10:22:31 -0400 (0:00:00.069) 0:00:33.844 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003612", "end": "2025-03-14 10:22:32.189281", "rc": 0, "start": "2025-03-14 10:22:32.185669" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 102 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev eth1 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 102 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Friday 14 March 2025 10:22:32 -0400 (0:00:00.415) 0:00:34.259 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Friday 14 March 2025 10:22:32 -0400 (0:00:00.079) 0:00:34.338 ********** ok: [managed-node4] => {} MSG: ################################################## 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:22:32 -0400 (0:00:00.099) 0:00:34.438 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 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:22:32 -0400 (0:00:00.195) 0:00:34.633 ********** skipping: [managed-node4] => { "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:22:32 -0400 (0:00:00.285) 0:00:34.919 ********** skipping: [managed-node4] => { "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:22:33 -0400 (0:00:00.142) 0:00:35.061 ********** skipping: [managed-node4] => { "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:22:33 -0400 (0:00:00.095) 0:00:35.156 ********** ok: [managed-node4] => { "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:22:35 -0400 (0:00:02.053) 0:00:37.210 ********** ok: [managed-node4] => { "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:22:36 -0400 (0:00:01.201) 0:00:38.411 ********** ok: [managed-node4] => {} 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:22:36 -0400 (0:00:00.081) 0:00:38.492 ********** skipping: [managed-node4] => { "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:22:36 -0400 (0:00:00.073) 0:00:38.566 ********** skipping: [managed-node4] => { "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:22:36 -0400 (0:00:00.107) 0:00:38.673 ********** skipping: [managed-node4] => { "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:22:37 -0400 (0:00:00.674) 0:00:39.347 ********** skipping: [managed-node4] => { "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:22:37 -0400 (0:00:00.213) 0:00:39.561 ********** skipping: [managed-node4] => { "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:22:37 -0400 (0:00:00.150) 0:00:39.712 ********** skipping: [managed-node4] => { "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:22:37 -0400 (0:00:00.113) 0:00:39.826 ********** skipping: [managed-node4] => { "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:22:37 -0400 (0:00:00.092) 0:00:39.919 ********** skipping: [managed-node4] => { "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:22:37 -0400 (0:00:00.033) 0:00:39.952 ********** skipping: [managed-node4] => { "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:22:38 -0400 (0:00:00.036) 0:00:39.988 ********** skipping: [managed-node4] => { "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:22:38 -0400 (0:00:00.180) 0:00:40.169 ********** ok: [managed-node4] => { "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:22:39 -0400 (0:00:01.234) 0:00:41.404 ********** skipping: [managed-node4] => { "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:22:39 -0400 (0:00:00.321) 0:00:41.726 ********** skipping: [managed-node4] => { "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:22:39 -0400 (0:00:00.216) 0:00:41.942 ********** skipping: [managed-node4] => { "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:22:40 -0400 (0:00:00.120) 0:00:42.062 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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:22:40 -0400 (0:00:00.888) 0:00:42.951 ********** skipping: [managed-node4] => { "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:22:41 -0400 (0:00:00.058) 0:00:43.010 ********** ok: [managed-node4] => { "__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:22:41 -0400 (0:00:00.057) 0:00:43.067 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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:22:41 -0400 (0:00:00.068) 0:00:43.136 ********** skipping: [managed-node4] => { "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:22:41 -0400 (0:00:00.117) 0:00:43.253 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Friday 14 March 2025 10:22:41 -0400 (0:00:00.468) 0:00:43.721 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node4 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:22:41 -0400 (0:00:00.148) 0:00:43.870 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:22:41 -0400 (0:00:00.044) 0:00:43.915 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:22:42 -0400 (0:00:00.109) 0:00:44.024 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 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:22:42 -0400 (0:00:00.165) 0:00:44.190 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 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:22:42 -0400 (0:00:00.156) 0:00:44.347 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003764", "end": "2025-03-14 10:22:42.790540", "rc": 0, "start": "2025-03-14 10:22:42.786776" } STDOUT: eth0 eth1 lo peerveth0 veth0 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:22:42 -0400 (0:00:00.608) 0:00:44.955 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "peerveth0", "veth0" ] }, "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:22:43 -0400 (0:00:00.173) 0:00:45.129 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:22:43 -0400 (0:00:00.226) 0:00:45.356 ********** ok: [managed-node4] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:22:44 -0400 (0:00:01.092) 0:00:46.448 ********** skipping: [managed-node4] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node4] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node4] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node4] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:22:44 -0400 (0:00:00.204) 0:00:46.653 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:22:44 -0400 (0:00:00.177) 0:00:46.831 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009125", "end": "2025-03-14 10:22:45.233558", "rc": 0, "start": "2025-03-14 10:22:45.224433" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:22:45 -0400 (0:00:00.570) 0:00:47.402 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:22:45 -0400 (0:00:00.155) 0:00:47.557 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:22:45 -0400 (0:00:00.172) 0:00:47.730 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:22:45 -0400 (0:00:00.145) 0:00:47.876 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Friday 14 March 2025 10:22:46 -0400 (0:00:00.368) 0:00:48.245 ********** ok: [managed-node4] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Friday 14 March 2025 10:22:46 -0400 (0:00:00.133) 0:00:48.378 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node4 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:22:46 -0400 (0:00:00.307) 0:00:48.686 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:22:46 -0400 (0:00:00.074) 0:00:48.760 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:22:46 -0400 (0:00:00.160) 0:00:48.920 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 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:22:47 -0400 (0:00:00.326) 0:00:49.247 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 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:22:47 -0400 (0:00:00.331) 0:00:49.579 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003238", "end": "2025-03-14 10:22:48.006864", "rc": 0, "start": "2025-03-14 10:22:48.003626" } STDOUT: 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:22:48 -0400 (0:00:00.547) 0:00:50.126 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "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:22:48 -0400 (0:00:00.114) 0:00:50.240 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:22:48 -0400 (0:00:00.232) 0:00:50.472 ********** ok: [managed-node4] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:22:49 -0400 (0:00:01.130) 0:00:51.603 ********** ok: [managed-node4] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.005006", "end": "2025-03-14 10:22:50.115760", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2025-03-14 10:22:50.110754" } ok: [managed-node4] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003753", "end": "2025-03-14 10:22:50.612903", "item": "ip link set peerveth0 up", "rc": 0, "start": "2025-03-14 10:22:50.609150" } ok: [managed-node4] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003626", "end": "2025-03-14 10:22:51.121174", "item": "ip link set veth0 up", "rc": 0, "start": "2025-03-14 10:22:51.117548" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:22:51 -0400 (0:00:01.670) 0:00:53.274 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020630", "end": "2025-03-14 10:22:51.752443", "rc": 0, "start": "2025-03-14 10:22:51.731813" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:22:51 -0400 (0:00:00.669) 0:00:53.943 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:22:52 -0400 (0:00:00.175) 0:00:54.118 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:22:52 -0400 (0:00:00.121) 0:00:54.240 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:22:52 -0400 (0:00:00.203) 0:00:54.444 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:22:52 -0400 (0:00:00.182) 0:00:54.627 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } 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:22:52 -0400 (0:00:00.063) 0:00:54.690 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 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:22:52 -0400 (0:00:00.138) 0:00:54.829 ********** skipping: [managed-node4] => { "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:22:53 -0400 (0:00:00.170) 0:00:54.999 ********** skipping: [managed-node4] => { "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:22:53 -0400 (0:00:00.158) 0:00:55.158 ********** skipping: [managed-node4] => { "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:22:53 -0400 (0:00:00.200) 0:00:55.358 ********** ok: [managed-node4] => { "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:22:55 -0400 (0:00:02.210) 0:00:57.568 ********** ok: [managed-node4] => { "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:22:56 -0400 (0:00:01.398) 0:00:58.967 ********** ok: [managed-node4] => {} 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:22:57 -0400 (0:00:00.207) 0:00:59.174 ********** skipping: [managed-node4] => { "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:22:57 -0400 (0:00:00.157) 0:00:59.332 ********** skipping: [managed-node4] => { "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:22:57 -0400 (0:00:00.144) 0:00:59.478 ********** skipping: [managed-node4] => { "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:22:57 -0400 (0:00:00.325) 0:00:59.803 ********** skipping: [managed-node4] => { "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:22:58 -0400 (0:00:00.324) 0:01:00.128 ********** skipping: [managed-node4] => { "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:22:58 -0400 (0:00:00.126) 0:01:00.255 ********** skipping: [managed-node4] => { "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:22:58 -0400 (0:00:00.358) 0:01:00.613 ********** skipping: [managed-node4] => { "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:22:59 -0400 (0:00:01.132) 0:01:01.746 ********** skipping: [managed-node4] => { "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:22:59 -0400 (0:00:00.174) 0:01:01.921 ********** skipping: [managed-node4] => { "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:23:00 -0400 (0:00:00.157) 0:01:02.078 ********** skipping: [managed-node4] => { "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:23:00 -0400 (0:00:00.394) 0:01:02.472 ********** ok: [managed-node4] => { "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:23:01 -0400 (0:00:01.171) 0:01:03.644 ********** skipping: [managed-node4] => { "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:23:02 -0400 (0:00:00.419) 0:01:04.064 ********** skipping: [managed-node4] => { "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:23:02 -0400 (0:00:00.199) 0:01:04.263 ********** skipping: [managed-node4] => { "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:23:02 -0400 (0:00:00.156) 0:01:04.420 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1 (not-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:23:03 -0400 (0:00:01.320) 0:01:05.741 ********** skipping: [managed-node4] => { "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:23:03 -0400 (0:00:00.139) 0:01:05.880 ********** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1 (not-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:23:04 -0400 (0:00:00.164) 0:01:06.045 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a6db53f-3931-4453-bd95-0c1526dee3c1 (not-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:23:04 -0400 (0:00:00.215) 0:01:06.260 ********** skipping: [managed-node4] => { "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:23:04 -0400 (0:00:00.180) 0:01:06.440 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Friday 14 March 2025 10:23:05 -0400 (0:00:00.734) 0:01:07.174 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node4 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:23:05 -0400 (0:00:00.340) 0:01:07.514 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:23:06 -0400 (0:00:00.483) 0:01:07.997 ********** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1741962170.1142812, "block_size": 4096, "blocks": 0, "ctime": 1741962170.1142812, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26317, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1741962170.1142812, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:23:06 -0400 (0:00:00.762) 0:01:08.760 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Friday 14 March 2025 10:23:06 -0400 (0:00:00.124) 0:01:08.885 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node4 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:23:07 -0400 (0:00:00.601) 0:01:09.486 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 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:23:07 -0400 (0:00:00.191) 0:01:09.678 ********** ok: [managed-node4] => { "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:23:07 -0400 (0:00:00.068) 0:01:09.746 ********** ok: [managed-node4] => { "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:23:08 -0400 (0:00:00.518) 0:01:10.264 ********** skipping: [managed-node4] => { "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:23:08 -0400 (0:00:00.097) 0:01:10.362 ********** ok: [managed-node4] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019832", "end": "2025-03-14 10:23:08.757870", "rc": 0, "start": "2025-03-14 10:23:08.738038" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.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:23:08 -0400 (0:00:00.504) 0:01:10.866 ********** ok: [managed-node4] => { "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-veth0] ************************** 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:23:08 -0400 (0:00:00.081) 0:01:10.947 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** 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:23:09 -0400 (0:00:00.088) 0:01:11.036 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** 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:23:09 -0400 (0:00:00.099) 0:01:11.135 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** 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:23:09 -0400 (0:00:00.071) 0:01:11.207 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** 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:23:09 -0400 (0:00:00.113) 0:01:11.321 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** 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:23:09 -0400 (0:00:00.125) 0:01:11.446 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** 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:23:09 -0400 (0:00:00.125) 0:01:11.572 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Friday 14 March 2025 10:23:09 -0400 (0:00:00.362) 0:01:11.934 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003707", "end": "2025-03-14 10:23:10.408457", "rc": 0, "start": "2025-03-14 10:23:10.404750" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.175 metric 100 default via 10.31.8.1 dev eth1 proto dhcp src 10.31.8.252 metric 101 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.175 metric 100 10.31.8.0/22 dev eth1 proto kernel scope link src 10.31.8.252 metric 101 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 102 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Friday 14 March 2025 10:23:10 -0400 (0:00:00.684) 0:01:12.619 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Friday 14 March 2025 10:23:10 -0400 (0:00:00.154) 0:01:12.780 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004073", "end": "2025-03-14 10:23:11.216086", "rc": 0, "start": "2025-03-14 10:23:11.212013" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 102 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev eth1 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Friday 14 March 2025 10:23:11 -0400 (0:00:00.667) 0:01:13.447 ********** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Friday 14 March 2025 10:23:11 -0400 (0:00:00.222) 0:01:13.670 ********** ok: [managed-node4] => {} MSG: ################################################## 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:23:11 -0400 (0:00:00.221) 0:01:13.892 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 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:23:12 -0400 (0:00:00.321) 0:01:14.213 ********** skipping: [managed-node4] => { "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:23:12 -0400 (0:00:00.175) 0:01:14.389 ********** skipping: [managed-node4] => { "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:23:12 -0400 (0:00:00.194) 0:01:14.584 ********** skipping: [managed-node4] => { "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:23:12 -0400 (0:00:00.192) 0:01:14.776 ********** ok: [managed-node4] => { "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:23:15 -0400 (0:00:02.309) 0:01:17.086 ********** ok: [managed-node4] => { "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:23:16 -0400 (0:00:01.506) 0:01:18.593 ********** ok: [managed-node4] => {} 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:23:16 -0400 (0:00:00.207) 0:01:18.800 ********** skipping: [managed-node4] => { "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:23:16 -0400 (0:00:00.173) 0:01:18.974 ********** skipping: [managed-node4] => { "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:23:17 -0400 (0:00:00.142) 0:01:19.117 ********** skipping: [managed-node4] => { "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:23:17 -0400 (0:00:00.509) 0:01:19.626 ********** skipping: [managed-node4] => { "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:23:17 -0400 (0:00:00.211) 0:01:19.838 ********** skipping: [managed-node4] => { "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:23:18 -0400 (0:00:00.319) 0:01:20.157 ********** skipping: [managed-node4] => { "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:23:18 -0400 (0:00:00.339) 0:01:20.497 ********** skipping: [managed-node4] => { "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:23:19 -0400 (0:00:00.483) 0:01:20.980 ********** skipping: [managed-node4] => { "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:23:19 -0400 (0:00:00.199) 0:01:21.180 ********** skipping: [managed-node4] => { "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:23:19 -0400 (0:00:00.176) 0:01:21.356 ********** skipping: [managed-node4] => { "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:23:19 -0400 (0:00:00.333) 0:01:21.690 ********** ok: [managed-node4] => { "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:23:20 -0400 (0:00:01.041) 0:01:22.732 ********** skipping: [managed-node4] => { "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:23:20 -0400 (0:00:00.196) 0:01:22.929 ********** skipping: [managed-node4] => { "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:23:21 -0400 (0:00:00.093) 0:01:23.022 ********** skipping: [managed-node4] => { "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:23:21 -0400 (0:00:00.077) 0:01:23.100 ********** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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:23:21 -0400 (0:00:00.787) 0:01:23.888 ********** skipping: [managed-node4] => { "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:23:22 -0400 (0:00:00.128) 0:01:24.016 ********** ok: [managed-node4] => { "__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:23:22 -0400 (0:00:00.134) 0:01:24.151 ********** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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:23:22 -0400 (0:00:00.109) 0:01:24.261 ********** skipping: [managed-node4] => { "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:23:22 -0400 (0:00:00.129) 0:01:24.391 ********** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Friday 14 March 2025 10:23:23 -0400 (0:00:00.616) 0:01:25.008 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node4 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:23:23 -0400 (0:00:00.356) 0:01:25.364 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:23:23 -0400 (0:00:00.107) 0:01:25.472 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:23:23 -0400 (0:00:00.076) 0:01:25.548 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 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:23:23 -0400 (0:00:00.138) 0:01:25.687 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 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:23:23 -0400 (0:00:00.229) 0:01:25.916 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003250", "end": "2025-03-14 10:23:24.324202", "rc": 0, "start": "2025-03-14 10:23:24.320952" } STDOUT: eth0 eth1 lo peerveth0 veth0 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:23:24 -0400 (0:00:00.517) 0:01:26.434 ********** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "peerveth0", "veth0" ] }, "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:23:24 -0400 (0:00:00.063) 0:01:26.498 ********** ok: [managed-node4] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:23:24 -0400 (0:00:00.103) 0:01:26.601 ********** ok: [managed-node4] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:23:25 -0400 (0:00:00.868) 0:01:27.470 ********** skipping: [managed-node4] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node4] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node4] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node4] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:23:25 -0400 (0:00:00.130) 0:01:27.601 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:23:25 -0400 (0:00:00.101) 0:01:27.702 ********** ok: [managed-node4] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008017", "end": "2025-03-14 10:23:26.149500", "rc": 0, "start": "2025-03-14 10:23:26.141483" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:23:26 -0400 (0:00:00.603) 0:01:28.306 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:23:26 -0400 (0:00:00.098) 0:01:28.404 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:23:26 -0400 (0:00:00.108) 0:01:28.513 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:23:26 -0400 (0:00:00.073) 0:01:28.587 ********** skipping: [managed-node4] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Friday 14 March 2025 10:23:26 -0400 (0:00:00.197) 0:01:28.785 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node4 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:23:27 -0400 (0:00:00.220) 0:01:29.005 ********** ok: [managed-node4] => { "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.008584", "end": "2025-03-14 10:23:27.469243", "rc": 0, "start": "2025-03-14 10:23:27.460659" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:5f:2c:27:40:71 brd ff:ff:ff:ff:ff:ff altname enX0 altname enx125f2c274071 inet 10.31.11.175/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3226sec preferred_lft 3226sec inet6 fe80::105f:2cff:fe27:4071/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:28:15:a9:4a:73 brd ff:ff:ff:ff:ff:ff altname enX1 altname enx122815a94a73 inet 10.31.8.252/22 brd 10.31.11.255 scope global dynamic noprefixroute eth1 valid_lft 3227sec preferred_lft 3227sec inet6 fe80::1028:15ff:fea9:4a73/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.175 metric 100 default via 10.31.8.1 dev eth1 proto dhcp src 10.31.8.252 metric 101 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.175 metric 100 10.31.8.0/22 dev eth1 proto kernel scope link src 10.31.8.252 metric 101 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev eth1 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:23:27 -0400 (0:00:00.592) 0:01:29.598 ********** ok: [managed-node4] => { "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.148625", "end": "2025-03-14 10:23:28.199211", "rc": 0, "start": "2025-03-14 10:23:28.050586" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 6815 0 --:--:-- --:--:-- --:--:-- 6931 % 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 3719 0 --:--:-- --:--:-- --:--:-- 3730 PLAY RECAP ********************************************************************* managed-node4 : ok=128 changed=4 unreachable=0 failed=0 skipped=118 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Friday 14 March 2025 10:23:28 -0400 (0:00:00.651) 0:01:30.250 ********** =============================================================================== Install iproute --------------------------------------------------------- 5.31s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 2.78s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /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.31s /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.21s /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.05s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 1.67s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.64s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Create veth interface veth0 --------------------------------------------- 1.55s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.49s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /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 --- 1.32s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 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 : Check which packages are installed --- 1.20s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.17s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Install packages -------------------- 1.13s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 1.13s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.09s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16