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: 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_route_device_nm.yml ******************************************** 2 plays in /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_device_nm.yml PLAY [Run playbook 'playbooks/tests_route_device.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_device_nm.yml:6 Friday 14 March 2025 10:27:17 -0400 (0:00:00.049) 0:00:00.049 ********** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_device_nm.yml:9 Friday 14 March 2025 10:27:20 -0400 (0:00:02.682) 0:00:02.731 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 14 March 2025 10:27:20 -0400 (0:00:00.088) 0:00:02.820 ********** ok: [managed-node1] 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:27:20 -0400 (0:00:00.805) 0:00:03.626 ********** ok: [managed-node1] => { "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:27:22 -0400 (0:00:01.129) 0:00:04.755 ********** ok: [managed-node1] => { "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:27:22 -0400 (0:00:00.105) 0:00:04.861 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 14 March 2025 10:27:22 -0400 (0:00:00.063) 0:00:04.924 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 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:27:22 -0400 (0:00:00.182) 0:00:05.107 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 14 March 2025 10:27:22 -0400 (0:00:00.055) 0:00:05.162 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 14 March 2025 10:27:22 -0400 (0:00:00.087) 0:00:05.249 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 14 March 2025 10:27:22 -0400 (0:00:00.071) 0:00:05.322 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 14 March 2025 10:27:22 -0400 (0:00:00.077) 0:00:05.399 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_device_nm.yml:11 Friday 14 March 2025 10:27:22 -0400 (0:00:00.076) 0:00:05.476 ********** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:3 Friday 14 March 2025 10:27:22 -0400 (0:00:00.114) 0:00:05.590 ********** ok: [managed-node1] TASK [Set type and interface0] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:11 Friday 14 March 2025 10:27:24 -0400 (0:00:01.164) 0:00:06.755 ********** ok: [managed-node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:15 Friday 14 March 2025 10:27:24 -0400 (0:00:00.117) 0:00:06.872 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:27:24 -0400 (0:00:00.106) 0:00:06.982 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:27:24 -0400 (0:00:00.085) 0:00:07.067 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2025-03-14 10:27:25.151816", "rc": 0, "start": "2025-03-14 10:27:25.148401" } 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:27:25 -0400 (0:00:00.843) 0:00:07.911 ********** ok: [managed-node1] => { "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:27:25 -0400 (0:00:00.141) 0:00:08.053 ********** ok: [managed-node1] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Manage test interface] *************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:17 Friday 14 March 2025 10:27:25 -0400 (0:00:00.147) 0:00:08.200 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 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:27:25 -0400 (0:00:00.217) 0:00:08.417 ********** skipping: [managed-node1] => { "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:27:25 -0400 (0:00:00.082) 0:00:08.499 ********** skipping: [managed-node1] => { "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:27:25 -0400 (0:00:00.073) 0:00:08.573 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:27:26 -0400 (0:00:00.106) 0:00:08.679 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:27:26 -0400 (0:00:00.088) 0:00:08.767 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003400", "end": "2025-03-14 10:27:26.643171", "rc": 0, "start": "2025-03-14 10:27:26.639771" } 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:27:26 -0400 (0:00:00.622) 0:00:09.390 ********** ok: [managed-node1] => { "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:27:26 -0400 (0:00:00.098) 0:00:09.488 ********** ok: [managed-node1] => {} 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:27:26 -0400 (0:00:00.152) 0:00:09.641 ********** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** 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:27:28 -0400 (0:00:01.867) 0:00:11.508 ********** ok: [managed-node1] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.005571", "end": "2025-03-14 10:27:29.360613", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2025-03-14 10:27:29.355042" } ok: [managed-node1] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003901", "end": "2025-03-14 10:27:29.806742", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2025-03-14 10:27:29.802841" } ok: [managed-node1] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003761", "end": "2025-03-14 10:27:30.325174", "item": "ip link set ethtest0 up", "rc": 0, "start": "2025-03-14 10:27:30.321413" } 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:27:30 -0400 (0:00:01.573) 0:00:13.082 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.021426", "end": "2025-03-14 10:27:30.908675", "rc": 0, "start": "2025-03-14 10:27:30.887249" } TASK [Delete veth interface ethtest0] ****************************************** 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:27:31 -0400 (0:00:00.586) 0:00:13.669 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** 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:27:31 -0400 (0:00:00.094) 0:00:13.763 ********** skipping: [managed-node1] => { "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 ethtest0] ***************************************** 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:27:31 -0400 (0:00:00.087) 0:00:13.851 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* 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:27:31 -0400 (0:00:00.101) 0:00:13.953 ********** skipping: [managed-node1] => { "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 ethtest0] ******************************************* 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:27:31 -0400 (0:00:00.036) 0:00:13.989 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:21 Friday 14 March 2025 10:27:31 -0400 (0:00:00.061) 0:00:14.050 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 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:27:31 -0400 (0:00:00.113) 0:00:14.164 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface ethtest0] ***************************************** 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:27:31 -0400 (0:00:00.062) 0:00:14.227 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741962449.3591356, "block_size": 4096, "blocks": 0, "ctime": 1741962449.3591356, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1741962449.3591356, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** 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:27:32 -0400 (0:00:00.557) 0:00:14.784 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set interface1] ********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:23 Friday 14 March 2025 10:27:32 -0400 (0:00:00.133) 0:00:14.918 ********** ok: [managed-node1] => { "ansible_facts": { "interface": "ethtest1" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:26 Friday 14 March 2025 10:27:32 -0400 (0:00:00.110) 0:00:15.029 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:27:32 -0400 (0:00:00.125) 0:00:15.155 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:27:32 -0400 (0:00:00.087) 0:00:15.242 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003486", "end": "2025-03-14 10:27:33.120056", "rc": 0, "start": "2025-03-14 10:27:33.116570" } STDOUT: eth0 eth1 ethtest0 lo peerethtest0 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:27:33 -0400 (0:00:00.615) 0:00:15.858 ********** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "ethtest0", "lo", "peerethtest0" ] }, "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:27:33 -0400 (0:00:00.090) 0:00:15.948 ********** ok: [managed-node1] => {} MSG: current_interfaces: ['eth0', 'eth1', 'ethtest0', 'lo', 'peerethtest0'] TASK [Manage test interface] *************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:28 Friday 14 March 2025 10:27:33 -0400 (0:00:00.110) 0:00:16.058 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 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:27:33 -0400 (0:00:00.130) 0:00:16.188 ********** skipping: [managed-node1] => { "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:27:33 -0400 (0:00:00.055) 0:00:16.244 ********** skipping: [managed-node1] => { "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:27:33 -0400 (0:00:00.048) 0:00:16.292 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:27:33 -0400 (0:00:00.090) 0:00:16.383 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:27:33 -0400 (0:00:00.106) 0:00:16.490 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003310", "end": "2025-03-14 10:27:34.319057", "rc": 0, "start": "2025-03-14 10:27:34.315747" } STDOUT: eth0 eth1 ethtest0 lo peerethtest0 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:27:34 -0400 (0:00:00.574) 0:00:17.064 ********** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "ethtest0", "lo", "peerethtest0" ] }, "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:27:34 -0400 (0:00:00.099) 0:00:17.164 ********** ok: [managed-node1] => {} MSG: current_interfaces: ['eth0', 'eth1', 'ethtest0', 'lo', 'peerethtest0'] 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:27:34 -0400 (0:00:00.094) 0:00:17.259 ********** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** 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:27:35 -0400 (0:00:01.123) 0:00:18.385 ********** ok: [managed-node1] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.006825", "end": "2025-03-14 10:27:36.277032", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2025-03-14 10:27:36.270207" } ok: [managed-node1] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003613", "end": "2025-03-14 10:27:36.848326", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2025-03-14 10:27:36.844713" } ok: [managed-node1] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.003787", "end": "2025-03-14 10:27:37.503632", "item": "ip link set ethtest1 up", "rc": 0, "start": "2025-03-14 10:27:37.499845" } 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:27:37 -0400 (0:00:01.874) 0:00:20.260 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.020875", "end": "2025-03-14 10:27:38.109778", "rc": 0, "start": "2025-03-14 10:27:38.088903" } TASK [Delete veth interface ethtest1] ****************************************** 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:27:38 -0400 (0:00:00.563) 0:00:20.823 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** 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:27:38 -0400 (0:00:00.036) 0:00:20.860 ********** skipping: [managed-node1] => { "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 ethtest1] ***************************************** 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:27:38 -0400 (0:00:00.040) 0:00:20.900 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* 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:27:38 -0400 (0:00:00.037) 0:00:20.938 ********** skipping: [managed-node1] => { "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 ethtest1] ******************************************* 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:27:38 -0400 (0:00:00.033) 0:00:20.971 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:32 Friday 14 March 2025 10:27:38 -0400 (0:00:00.062) 0:00:21.034 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 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:27:38 -0400 (0:00:00.148) 0:00:21.183 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface ethtest1] ***************************************** 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:27:38 -0400 (0:00:00.065) 0:00:21.249 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741962456.2737262, "block_size": 4096, "blocks": 0, "ctime": 1741962456.2737262, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27803, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1741962456.2737262, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 - 'ethtest1'] *********************** 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:27:39 -0400 (0:00:00.497) 0:00:21.747 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed 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:27:39 -0400 (0:00:00.039) 0:00:21.786 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:27:39 -0400 (0:00:00.066) 0:00:21.853 ********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:27:39 -0400 (0:00:00.113) 0:00:21.966 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:27:39 -0400 (0:00:00.036) 0:00:22.002 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:27:39 -0400 (0:00:00.037) 0:00:22.040 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:27:41 -0400 (0:00:02.375) 0:00:24.415 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:27:44 -0400 (0:00:02.771) 0:00:27.186 ********** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:27:44 -0400 (0:00:00.177) 0:00:27.364 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:27:44 -0400 (0:00:00.133) 0:00:27.498 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:27:44 -0400 (0:00:00.107) 0:00:27.606 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:27:45 -0400 (0:00:00.300) 0:00:27.906 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:27:45 -0400 (0:00:00.578) 0:00:28.485 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:27:46 -0400 (0:00:00.183) 0:00:28.668 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:27:46 -0400 (0:00:00.316) 0:00:28.985 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:27:46 -0400 (0:00:00.291) 0:00:29.276 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:27:46 -0400 (0:00:00.223) 0:00:29.500 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:27:47 -0400 (0:00:00.176) 0:00:29.677 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:27:47 -0400 (0:00:00.292) 0:00:29.969 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:27:49 -0400 (0:00:02.417) 0:00:32.387 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:27:50 -0400 (0:00:00.399) 0:00:32.786 ********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:27:50 -0400 (0:00:00.157) 0:00:32.946 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:27:50 -0400 (0:00:00.198) 0:00:33.145 ********** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9 [006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac [007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9 (not-active) [008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac (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:27:53 -0400 (0:00:02.540) 0:00:35.686 ********** skipping: [managed-node1] => { "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:27:53 -0400 (0:00:00.129) 0:00:35.815 ********** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac (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:27:53 -0400 (0:00:00.125) 0:00:35.941 ********** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9\n[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac\n[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9 (not-active)\n[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d7433778-0e9f-4acf-ac7e-a480323d1dc9 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac (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:27:53 -0400 (0:00:00.142) 0:00:36.083 ********** skipping: [managed-node1] => { "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:27:53 -0400 (0:00:00.122) 0:00:36.205 ********** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Get the IPv4 routes from the route table main] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:73 Friday 14 March 2025 10:27:54 -0400 (0:00:00.930) 0:00:37.136 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "-4", "route" ], "delta": "0:00:00.003641", "end": "2025-03-14 10:27:54.974502", "rc": 0, "start": "2025-03-14 10:27:54.970861" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.31 metric 100 default via 10.31.40.1 dev eth1 proto dhcp src 10.31.43.1 metric 101 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.31 metric 100 10.31.40.0/22 dev eth1 proto kernel scope link src 10.31.43.1 metric 101 198.51.10.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 198.51.12.128/26 via 198.51.100.1 dev ethtest1 proto static metric 2 198.51.100.0/24 dev ethtest0 proto kernel scope link src 198.51.100.3 metric 104 198.51.100.0/24 dev ethtest1 proto kernel scope link src 198.51.100.6 metric 105 TASK [Assert that the route table main contains the specified IPv4 routes] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:78 Friday 14 March 2025 10:27:55 -0400 (0:00:00.662) 0:00:37.799 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get the IPv6 routes from the route table main] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:89 Friday 14 March 2025 10:27:55 -0400 (0:00:00.352) 0:00:38.151 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004300", "end": "2025-03-14 10:27:55.960354", "rc": 0, "start": "2025-03-14 10:27:55.956054" } STDOUT: 2001:db6::4 via 2001:db8::1 dev ethtest0 proto static metric 2 pref medium 2001:db8::/32 dev ethtest0 proto kernel metric 104 pref medium 2001:db8::/32 dev ethtest1 proto kernel metric 105 pref medium fe80::/64 dev peerethtest0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest1 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 ethtest0 proto kernel metric 1024 pref medium fe80::/64 dev ethtest1 proto kernel metric 1024 pref medium TASK [Assert that the route table main contains the specified IPv6 routes] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:94 Friday 14 March 2025 10:27:56 -0400 (0:00:00.642) 0:00:38.794 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get the interface1 MAC address] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:99 Friday 14 March 2025 10:27:56 -0400 (0:00:00.103) 0:00:38.898 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/sys/class/net/ethtest1/address" ], "delta": "0:00:00.003397", "end": "2025-03-14 10:27:56.717049", "rc": 0, "start": "2025-03-14 10:27:56.713652" } STDOUT: 8a:a1:93:b0:cd:4a 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:27:56 -0400 (0:00:00.619) 0:00:39.517 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:27:57 -0400 (0:00:00.268) 0:00:39.786 ********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:27:57 -0400 (0:00:00.219) 0:00:40.006 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:27:57 -0400 (0:00:00.182) 0:00:40.188 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:27:57 -0400 (0:00:00.177) 0:00:40.366 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:28:00 -0400 (0:00:02.461) 0:00:42.828 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:28:01 -0400 (0:00:01.587) 0:00:44.415 ********** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:28:02 -0400 (0:00:00.234) 0:00:44.650 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:28:02 -0400 (0:00:00.224) 0:00:44.874 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:28:02 -0400 (0:00:00.205) 0:00:45.082 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:28:02 -0400 (0:00:00.345) 0:00:45.427 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:28:03 -0400 (0:00:00.258) 0:00:45.686 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:28:03 -0400 (0:00:00.345) 0:00:46.031 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:28:03 -0400 (0:00:00.406) 0:00:46.438 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:28:04 -0400 (0:00:00.543) 0:00:46.981 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:28:04 -0400 (0:00:00.196) 0:00:47.178 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:28:04 -0400 (0:00:00.193) 0:00:47.371 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:28:05 -0400 (0:00:00.421) 0:00:47.793 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:28:06 -0400 (0:00:01.146) 0:00:48.939 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:28:06 -0400 (0:00:00.280) 0:00:49.220 ********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:28:06 -0400 (0:00:00.052) 0:00:49.272 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:28:06 -0400 (0:00:00.050) 0:00:49.323 ********** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "8a:a1:93:b0:cd:4a", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac 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:28:07 -0400 (0:00:01.033) 0:00:50.357 ********** skipping: [managed-node1] => { "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:28:07 -0400 (0:00:00.150) 0:00:50.507 ********** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac" ] } 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:28:08 -0400 (0:00:00.191) 0:00:50.698 ********** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "8a:a1:93:b0:cd:4a", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 7e107576-fe22-49c3-9b37-418fb2a5e4ac" ] } } 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:28:08 -0400 (0:00:00.256) 0:00:50.954 ********** skipping: [managed-node1] => { "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:28:08 -0400 (0:00:00.216) 0:00:51.170 ********** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Assert that the warning about specifying the route without the output device is logged for initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:122 Friday 14 March 2025 10:28:09 -0400 (0:00:00.750) 0:00:51.920 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [Assert that no warning is logged for nm provider] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:129 Friday 14 March 2025 10:28:09 -0400 (0:00:00.139) 0:00:52.060 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Bring down test devices and profiles] ************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:140 Friday 14 March 2025 10:28:09 -0400 (0:00:00.174) 0:00:52.235 ********** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 14 March 2025 10:28:09 -0400 (0:00:00.384) 0:00:52.620 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 14 March 2025 10:28:10 -0400 (0:00:00.269) 0:00:52.889 ********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 14 March 2025 10:28:10 -0400 (0:00:00.262) 0:00:53.152 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 14 March 2025 10:28:10 -0400 (0:00:00.147) 0:00:53.299 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 14 March 2025 10:28:10 -0400 (0:00:00.200) 0:00:53.500 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 14 March 2025 10:28:13 -0400 (0:00:02.410) 0:00:55.910 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 14 March 2025 10:28:14 -0400 (0:00:01.333) 0:00:57.244 ********** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 14 March 2025 10:28:14 -0400 (0:00:00.113) 0:00:57.357 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 14 March 2025 10:28:14 -0400 (0:00:00.168) 0:00:57.525 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 14 March 2025 10:28:15 -0400 (0:00:00.153) 0:00:57.679 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 14 March 2025 10:28:15 -0400 (0:00:00.273) 0:00:57.952 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 14 March 2025 10:28:15 -0400 (0:00:00.273) 0:00:58.226 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 14 March 2025 10:28:15 -0400 (0:00:00.197) 0:00:58.423 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 14 March 2025 10:28:16 -0400 (0:00:00.384) 0:00:58.808 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 14 March 2025 10:28:16 -0400 (0:00:00.521) 0:00:59.330 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 14 March 2025 10:28:16 -0400 (0:00:00.196) 0:00:59.526 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 14 March 2025 10:28:17 -0400 (0:00:00.193) 0:00:59.720 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 14 March 2025 10:28:17 -0400 (0:00:00.409) 0:01:00.129 ********** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 14 March 2025 10:28:18 -0400 (0:00:01.344) 0:01:01.473 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 14 March 2025 10:28:19 -0400 (0:00:00.348) 0:01:01.821 ********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 14 March 2025 10:28:19 -0400 (0:00:00.170) 0:01:01.992 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 14 March 2025 10:28:19 -0400 (0:00:00.137) 0:01:02.129 ********** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "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:28:20 -0400 (0:00:01.392) 0:01:03.522 ********** skipping: [managed-node1] => { "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:28:20 -0400 (0:00:00.059) 0:01:03.582 ********** ok: [managed-node1] => { "__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:28:21 -0400 (0:00:00.123) 0:01:03.706 ********** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "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:28:21 -0400 (0:00:00.238) 0:01:03.945 ********** skipping: [managed-node1] => { "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:28:21 -0400 (0:00:00.229) 0:01:04.174 ********** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Delete interface1] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:151 Friday 14 March 2025 10:28:22 -0400 (0:00:00.749) 0:01:04.924 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 14 March 2025 10:28:22 -0400 (0:00:00.172) 0:01:05.097 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.009834", "end": "2025-03-14 10:28:22.977057", "rc": 0, "start": "2025-03-14 10:28:22.967223" } TASK [Assert interface1 is absent] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:153 Friday 14 March 2025 10:28:23 -0400 (0:00:00.695) 0:01:05.792 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 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_absent.yml:3 Friday 14 March 2025 10:28:23 -0400 (0:00:00.245) 0:01:06.038 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface ethtest1] ***************************************** 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:28:23 -0400 (0:00:00.097) 0:01:06.135 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:28:24 -0400 (0:00:00.641) 0:01:06.777 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set interface0] ********************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:155 Friday 14 March 2025 10:28:24 -0400 (0:00:00.243) 0:01:07.020 ********** ok: [managed-node1] => { "ansible_facts": { "interface": "ethtest0" }, "changed": false } TASK [Delete interface0] ******************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:158 Friday 14 March 2025 10:28:24 -0400 (0:00:00.143) 0:01:07.164 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 14 March 2025 10:28:24 -0400 (0:00:00.273) 0:01:07.438 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.006184", "end": "2025-03-14 10:28:25.247737", "rc": 0, "start": "2025-03-14 10:28:25.241553" } TASK [Assert interface0 is absent] ********************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:160 Friday 14 March 2025 10:28:25 -0400 (0:00:00.588) 0:01:08.026 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 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_absent.yml:3 Friday 14 March 2025 10:28:25 -0400 (0:00:00.068) 0:01:08.095 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface ethtest0] ***************************************** 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:28:25 -0400 (0:00:00.062) 0:01:08.158 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:28:25 -0400 (0:00:00.446) 0:01:08.605 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert interface0 profile and interface1 profile are absent] ************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:162 Friday 14 March 2025 10:28:26 -0400 (0:00:00.067) 0:01:08.672 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=ethtest0) included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=ethtest1) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 14 March 2025 10:28:26 -0400 (0:00:00.132) 0:01:08.805 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 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:28:26 -0400 (0:00:00.213) 0:01:09.019 ********** ok: [managed-node1] => { "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:28:26 -0400 (0:00:00.131) 0:01:09.151 ********** ok: [managed-node1] => { "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:28:27 -0400 (0:00:00.683) 0:01:09.834 ********** skipping: [managed-node1] => { "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:28:27 -0400 (0:00:00.086) 0:01:09.921 ********** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.018419", "end": "2025-03-14 10:28:27.703713", "rc": 1, "start": "2025-03-14 10:28:27.685294" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:28:27 -0400 (0:00:00.590) 0:01:10.511 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** 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:28:27 -0400 (0:00:00.067) 0:01:10.579 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** 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:28:28 -0400 (0:00:00.115) 0:01:10.694 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** 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:28:28 -0400 (0:00:00.109) 0:01:10.803 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ 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:28:28 -0400 (0:00:00.142) 0:01:10.946 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 14 March 2025 10:28:28 -0400 (0:00:00.107) 0:01:11.053 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 14 March 2025 10:28:28 -0400 (0:00:00.100) 0:01:11.154 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 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:28:28 -0400 (0:00:00.179) 0:01:11.334 ********** ok: [managed-node1] => { "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:28:28 -0400 (0:00:00.080) 0:01:11.414 ********** ok: [managed-node1] => { "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:28:29 -0400 (0:00:00.639) 0:01:12.054 ********** skipping: [managed-node1] => { "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:28:29 -0400 (0:00:00.140) 0:01:12.194 ********** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest1 | grep /etc", "delta": "0:00:00.017763", "end": "2025-03-14 10:28:30.024484", "rc": 1, "start": "2025-03-14 10:28:30.006721" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 14 March 2025 10:28:30 -0400 (0:00:00.612) 0:01:12.807 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest1] *********************** 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:28:30 -0400 (0:00:00.060) 0:01:12.867 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest1] ******************** 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:28:30 -0400 (0:00:00.268) 0:01:13.135 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest1] *************************** 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:28:30 -0400 (0:00:00.148) 0:01:13.283 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest1] ************************ 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:28:30 -0400 (0:00:00.184) 0:01:13.468 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest1'] ************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 14 March 2025 10:28:30 -0400 (0:00:00.176) 0:01:13.644 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:169 Friday 14 March 2025 10:28:31 -0400 (0:00:00.194) 0:01:13.838 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 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:28:31 -0400 (0:00:00.295) 0:01:14.134 ********** ok: [managed-node1] => { "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.008480", "end": "2025-03-14 10:28:31.998472", "rc": 0, "start": "2025-03-14 10:28:31.989992" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:62:4e:cd:2e:9b brd ff:ff:ff:ff:ff:ff altname enX0 altname enx0e624ecd2e9b inet 10.31.41.31/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2808sec preferred_lft 2808sec inet6 fe80::c62:4eff:fecd:2e9b/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:06:a0:f9:02:1d brd ff:ff:ff:ff:ff:ff altname enX1 altname enx0e06a0f9021d inet 10.31.43.1/22 brd 10.31.43.255 scope global dynamic noprefixroute eth1 valid_lft 2808sec preferred_lft 2808sec inet6 fe80::c06:a0ff:fef9:21d/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.31 metric 100 default via 10.31.40.1 dev eth1 proto dhcp src 10.31.43.1 metric 101 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.31 metric 100 10.31.40.0/22 dev eth1 proto kernel scope link src 10.31.43.1 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:28:32 -0400 (0:00:00.733) 0:01:14.867 ********** ok: [managed-node1] => { "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.303600", "end": "2025-03-14 10:28:33.053596", "rc": 0, "start": "2025-03-14 10:28:32.749996" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 7309 0 --:--:-- --:--:-- --:--:-- 7439 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1212 0 --:--:-- --:--:-- --:--:-- 1212 PLAY RECAP ********************************************************************* managed-node1 : ok=108 changed=3 unreachable=0 failed=0 skipped=87 rescued=0 ignored=2 TASKS RECAP ******************************************************************** Friday 14 March 2025 10:28:33 -0400 (0:00:00.936) 0:01:15.804 ********** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.77s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 2.68s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_device_nm.yml:6 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.54s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 2.46s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.42s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which services are running ---- 2.41s /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.38s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Create veth interface ethtest1 ------------------------------------------ 1.87s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 1.87s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface ethtest0 ------------------------------------------ 1.57s /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.39s /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.34s /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.33s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_device.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.15s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Check if system is ostree ----------------------------------------------- 1.13s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Install iproute --------------------------------------------------------- 1.12s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.03s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Verify DNS and network connectivity ------------------------------------- 0.94s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24