ansible-playbook [core 2.17.9] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-npB executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Friday 14 March 2025 10:25:40 -0400 (0:00:00.086) 0:00:00.086 ********** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Friday 14 March 2025 10:25:42 -0400 (0:00:02.170) 0:00:02.256 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 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:25:43 -0400 (0:00:00.107) 0:00:02.363 ********** ok: [managed-node2] 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:25:44 -0400 (0:00:01.246) 0:00:03.610 ********** ok: [managed-node2] => { "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:25:45 -0400 (0:00:01.167) 0:00:04.777 ********** ok: [managed-node2] => { "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:25:45 -0400 (0:00:00.164) 0:00:04.942 ********** skipping: [managed-node2] => { "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:25:45 -0400 (0:00:00.105) 0:00:05.048 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 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:25:45 -0400 (0:00:00.280) 0:00:05.328 ********** skipping: [managed-node2] => { "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:25:46 -0400 (0:00:00.073) 0:00:05.402 ********** skipping: [managed-node2] => { "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:25:46 -0400 (0:00:00.082) 0:00:05.485 ********** skipping: [managed-node2] => { "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:25:46 -0400 (0:00:00.086) 0:00:05.571 ********** skipping: [managed-node2] => { "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:25:46 -0400 (0:00:00.058) 0:00:05.630 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Friday 14 March 2025 10:25:46 -0400 (0:00:00.055) 0:00:05.686 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 14 March 2025 10:25:46 -0400 (0:00:00.118) 0:00:05.804 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:25:46 -0400 (0:00:00.129) 0:00:05.933 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:25:46 -0400 (0:00:00.114) 0:00:06.048 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003557", "end": "2025-03-14 10:25:47.762308", "rc": 0, "start": "2025-03-14 10:25:47.758751" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:25:47 -0400 (0:00:01.158) 0:00:07.207 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:25:47 -0400 (0:00:00.103) 0:00:07.310 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 14 March 2025 10:25:48 -0400 (0:00:00.068) 0:00:07.379 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:25:48 -0400 (0:00:00.146) 0:00:07.525 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:25:48 -0400 (0:00:00.076) 0:00:07.602 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:25:48 -0400 (0:00:00.090) 0:00:07.692 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:25:48 -0400 (0:00:00.131) 0:00:07.823 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:25:48 -0400 (0:00:00.121) 0:00:07.945 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003715", "end": "2025-03-14 10:25:49.074127", "rc": 0, "start": "2025-03-14 10:25:49.070412" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:25:49 -0400 (0:00:00.521) 0:00:08.466 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:25:49 -0400 (0:00:00.021) 0:00:08.487 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:25:49 -0400 (0:00:00.028) 0:00:08.515 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:25:50 -0400 (0:00:01.235) 0:00:09.751 ********** skipping: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:25:50 -0400 (0:00:00.156) 0:00:09.907 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:25:50 -0400 (0:00:00.099) 0:00:10.007 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:25:50 -0400 (0:00:00.087) 0:00:10.094 ********** skipping: [managed-node2] => { "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 veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:25:50 -0400 (0:00:00.073) 0:00:10.168 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:25:50 -0400 (0:00:00.074) 0:00:10.242 ********** skipping: [managed-node2] => { "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 veth1298] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:25:50 -0400 (0:00:00.074) 0:00:10.316 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "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/tasks/create_and_remove_interface.yml:9 Friday 14 March 2025 10:25:51 -0400 (0:00:00.037) 0:00:10.354 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:25:51 -0400 (0:00:00.060) 0:00:10.414 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:25:51 -0400 (0:00:00.083) 0:00:10.498 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003379", "end": "2025-03-14 10:25:51.593024", "rc": 0, "start": "2025-03-14 10:25:51.589645" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:25:51 -0400 (0:00:00.519) 0:00:11.017 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:25:51 -0400 (0:00:00.077) 0:00:11.095 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 14 March 2025 10:25:51 -0400 (0:00:00.089) 0:00:11.185 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:25:52 -0400 (0:00:00.148) 0:00:11.334 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:25:52 -0400 (0:00:00.104) 0:00:11.438 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:25:52 -0400 (0:00:00.595) 0:00:12.033 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 14 March 2025 10:25:52 -0400 (0:00:00.094) 0:00:12.128 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:25:52 -0400 (0:00:00.141) 0:00:12.269 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:25:52 -0400 (0:00:00.058) 0:00:12.328 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:25:53 -0400 (0:00:00.056) 0:00:12.385 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:25:53 -0400 (0:00:00.078) 0:00:12.463 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:25:53 -0400 (0:00:00.088) 0:00:12.551 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2025-03-14 10:25:53.749882", "rc": 0, "start": "2025-03-14 10:25:53.746573" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:25:53 -0400 (0:00:00.611) 0:00:13.163 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:25:53 -0400 (0:00:00.046) 0:00:13.209 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:25:53 -0400 (0:00:00.041) 0:00:13.251 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:25:54 -0400 (0:00:01.002) 0:00:14.253 ********** ok: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298" ], "delta": "0:00:00.005890", "end": "2025-03-14 10:25:55.459806", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2025-03-14 10:25:55.453916" } ok: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004196", "end": "2025-03-14 10:25:55.987603", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2025-03-14 10:25:55.983407" } ok: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004181", "end": "2025-03-14 10:25:56.558659", "item": "ip link set veth1298 up", "rc": 0, "start": "2025-03-14 10:25:56.554478" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:25:56 -0400 (0:00:01.733) 0:00:15.987 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020690", "end": "2025-03-14 10:25:57.232883", "rc": 0, "start": "2025-03-14 10:25:57.212193" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:25:57 -0400 (0:00:00.682) 0:00:16.670 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:25:57 -0400 (0:00:00.075) 0:00:16.745 ********** skipping: [managed-node2] => { "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 veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:25:57 -0400 (0:00:00.072) 0:00:16.817 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:25:57 -0400 (0:00:00.080) 0:00:16.898 ********** skipping: [managed-node2] => { "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 veth1298] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:25:57 -0400 (0:00:00.099) 0:00:16.998 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "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/tasks/create_and_remove_interface.yml:18 Friday 14 March 2025 10:25:57 -0400 (0:00:00.091) 0:00:17.089 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:25:57 -0400 (0:00:00.140) 0:00:17.229 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:25:58 -0400 (0:00:00.108) 0:00:17.338 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003264", "end": "2025-03-14 10:25:58.489688", "rc": 0, "start": "2025-03-14 10:25:58.486424" } STDOUT: eth0 eth1 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:25:58 -0400 (0:00:00.575) 0:00:17.914 ********** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:25:58 -0400 (0:00:00.087) 0:00:18.001 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 14 March 2025 10:25:58 -0400 (0:00:00.104) 0:00:18.106 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:25:59 -0400 (0:00:00.224) 0:00:18.330 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:25:59 -0400 (0:00:00.102) 0:00:18.433 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1741962355.4574804, "block_size": 4096, "blocks": 0, "ctime": 1741962355.4574804, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27229, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth1298", "lnk_target": "../../devices/virtual/net/veth1298", "mode": "0777", "mtime": 1741962355.4574804, "nlink": 1, "path": "/sys/class/net/veth1298", "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 - 'veth1298'] *********************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:25:59 -0400 (0:00:00.575) 0:00:19.008 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 14 March 2025 10:25:59 -0400 (0:00:00.050) 0:00:19.059 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:25:59 -0400 (0:00:00.167) 0:00:19.227 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:25:59 -0400 (0:00:00.071) 0:00:19.299 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:26:00 -0400 (0:00:00.078) 0:00:19.378 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:00 -0400 (0:00:00.067) 0:00:19.445 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:00 -0400 (0:00:00.073) 0:00:19.518 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003321", "end": "2025-03-14 10:26:00.696858", "rc": 0, "start": "2025-03-14 10:26:00.693537" } STDOUT: eth0 eth1 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:00 -0400 (0:00:00.587) 0:00:20.106 ********** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:00 -0400 (0:00:00.075) 0:00:20.181 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:26:00 -0400 (0:00:00.076) 0:00:20.257 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:26:01 -0400 (0:00:01.030) 0:00:21.288 ********** skipping: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:26:02 -0400 (0:00:00.135) 0:00:21.424 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:26:02 -0400 (0:00:00.079) 0:00:21.503 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008618", "end": "2025-03-14 10:26:02.736632", "rc": 0, "start": "2025-03-14 10:26:02.728014" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:26:02 -0400 (0:00:00.698) 0:00:22.201 ********** skipping: [managed-node2] => { "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 veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:26:02 -0400 (0:00:00.096) 0:00:22.299 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:26:03 -0400 (0:00:00.104) 0:00:22.404 ********** skipping: [managed-node2] => { "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 veth1298] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:26:03 -0400 (0:00:00.085) 0:00:22.489 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "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/tasks/create_and_remove_interface.yml:27 Friday 14 March 2025 10:26:03 -0400 (0:00:00.090) 0:00:22.580 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:03 -0400 (0:00:00.172) 0:00:22.752 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:03 -0400 (0:00:00.073) 0:00:22.826 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003578", "end": "2025-03-14 10:26:03.943778", "rc": 0, "start": "2025-03-14 10:26:03.940200" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:04 -0400 (0:00:00.558) 0:00:23.385 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:04 -0400 (0:00:00.117) 0:00:23.506 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 14 March 2025 10:26:04 -0400 (0:00:00.081) 0:00:23.587 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:26:04 -0400 (0:00:00.177) 0:00:23.765 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:26:04 -0400 (0:00:00.092) 0:00:23.857 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:26:05 -0400 (0:00:00.498) 0:00:24.356 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Friday 14 March 2025 10:26:05 -0400 (0:00:00.060) 0:00:24.416 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 14 March 2025 10:26:05 -0400 (0:00:00.115) 0:00:24.532 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:05 -0400 (0:00:00.067) 0:00:24.599 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:05 -0400 (0:00:00.094) 0:00:24.694 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003940", "end": "2025-03-14 10:26:05.851302", "rc": 0, "start": "2025-03-14 10:26:05.847362" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:05 -0400 (0:00:00.585) 0:00:25.280 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:06 -0400 (0:00:00.072) 0:00:25.353 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 14 March 2025 10:26:06 -0400 (0:00:00.073) 0:00:25.426 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:26:06 -0400 (0:00:00.069) 0:00:25.495 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:26:06 -0400 (0:00:00.044) 0:00:25.540 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:26:06 -0400 (0:00:00.033) 0:00:25.574 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:06 -0400 (0:00:00.071) 0:00:25.645 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:06 -0400 (0:00:00.101) 0:00:25.747 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003718", "end": "2025-03-14 10:26:06.899737", "rc": 0, "start": "2025-03-14 10:26:06.896019" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:07 -0400 (0:00:00.598) 0:00:26.356 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:07 -0400 (0:00:00.083) 0:00:26.439 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:26:07 -0400 (0:00:00.093) 0:00:26.533 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:26:08 -0400 (0:00:01.061) 0:00:27.594 ********** skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:26:08 -0400 (0:00:00.176) 0:00:27.770 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:26:08 -0400 (0:00:00.095) 0:00:27.866 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:26:08 -0400 (0:00:00.077) 0:00:27.943 ********** skipping: [managed-node2] => { "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 dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:26:08 -0400 (0:00:00.114) 0:00:28.058 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:26:08 -0400 (0:00:00.055) 0:00:28.113 ********** skipping: [managed-node2] => { "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 dummy1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:26:08 -0400 (0:00:00.084) 0:00:28.198 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "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/tasks/create_and_remove_interface.yml:9 Friday 14 March 2025 10:26:08 -0400 (0:00:00.092) 0:00:28.290 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:09 -0400 (0:00:00.142) 0:00:28.433 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:09 -0400 (0:00:00.085) 0:00:28.518 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2025-03-14 10:26:09.685163", "rc": 0, "start": "2025-03-14 10:26:09.681900" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:09 -0400 (0:00:00.607) 0:00:29.126 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:09 -0400 (0:00:00.116) 0:00:29.243 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 14 March 2025 10:26:10 -0400 (0:00:00.092) 0:00:29.336 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:26:10 -0400 (0:00:00.210) 0:00:29.546 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:26:10 -0400 (0:00:00.123) 0:00:29.672 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:26:10 -0400 (0:00:00.604) 0:00:30.277 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 14 March 2025 10:26:10 -0400 (0:00:00.048) 0:00:30.325 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:26:11 -0400 (0:00:00.141) 0:00:30.467 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:26:11 -0400 (0:00:00.061) 0:00:30.528 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:26:11 -0400 (0:00:00.046) 0:00:30.574 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:11 -0400 (0:00:00.074) 0:00:30.649 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:11 -0400 (0:00:00.078) 0:00:30.727 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003880", "end": "2025-03-14 10:26:11.931856", "rc": 0, "start": "2025-03-14 10:26:11.927976" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:12 -0400 (0:00:00.644) 0:00:31.372 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:12 -0400 (0:00:00.112) 0:00:31.486 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:26:12 -0400 (0:00:00.114) 0:00:31.600 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:26:13 -0400 (0:00:01.186) 0:00:32.787 ********** skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:26:13 -0400 (0:00:00.123) 0:00:32.911 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:26:13 -0400 (0:00:00.096) 0:00:33.013 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:26:13 -0400 (0:00:00.099) 0:00:33.113 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.004505", "end": "2025-03-14 10:26:14.287164", "rc": 0, "start": "2025-03-14 10:26:14.282659" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:26:14 -0400 (0:00:00.606) 0:00:33.719 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:26:14 -0400 (0:00:00.080) 0:00:33.799 ********** skipping: [managed-node2] => { "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 dummy1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:26:14 -0400 (0:00:00.056) 0:00:33.856 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "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/tasks/create_and_remove_interface.yml:18 Friday 14 March 2025 10:26:14 -0400 (0:00:00.070) 0:00:33.927 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:14 -0400 (0:00:00.120) 0:00:34.047 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:14 -0400 (0:00:00.041) 0:00:34.089 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003351", "end": "2025-03-14 10:26:15.169834", "rc": 0, "start": "2025-03-14 10:26:15.166483" } STDOUT: dummy1298 eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:15 -0400 (0:00:00.507) 0:00:34.596 ********** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "eth1", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:15 -0400 (0:00:00.096) 0:00:34.693 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'eth1', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 14 March 2025 10:26:15 -0400 (0:00:00.101) 0:00:34.794 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 14 March 2025 10:26:15 -0400 (0:00:00.191) 0:00:34.985 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:26:15 -0400 (0:00:00.130) 0:00:35.116 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1741962374.285853, "block_size": 4096, "blocks": 0, "ctime": 1741962374.285853, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy1298", "lnk_target": "../../devices/virtual/net/dummy1298", "mode": "0777", "mtime": 1741962374.285853, "nlink": 1, "path": "/sys/class/net/dummy1298", "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 - 'dummy1298'] ********************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 14 March 2025 10:26:16 -0400 (0:00:00.877) 0:00:35.994 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 14 March 2025 10:26:16 -0400 (0:00:00.096) 0:00:36.090 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 14 March 2025 10:26:16 -0400 (0:00:00.191) 0:00:36.282 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:8 Friday 14 March 2025 10:26:17 -0400 (0:00:00.080) 0:00:36.363 ********** skipping: [managed-node2] => { "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/tasks/manage_test_interface.yml:13 Friday 14 March 2025 10:26:17 -0400 (0:00:00.069) 0:00:36.432 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:17 -0400 (0:00:00.067) 0:00:36.500 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:17 -0400 (0:00:00.098) 0:00:36.598 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2025-03-14 10:26:17.711919", "rc": 0, "start": "2025-03-14 10:26:17.708522" } STDOUT: dummy1298 eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:17 -0400 (0:00:00.556) 0:00:37.155 ********** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "eth1", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:17 -0400 (0:00:00.115) 0:00:37.270 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 14 March 2025 10:26:18 -0400 (0:00:00.106) 0:00:37.377 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 14 March 2025 10:26:19 -0400 (0:00:00.969) 0:00:38.346 ********** skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 14 March 2025 10:26:19 -0400 (0:00:00.098) 0:00:38.445 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 14 March 2025 10:26:19 -0400 (0:00:00.057) 0:00:38.502 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 14 March 2025 10:26:19 -0400 (0:00:00.053) 0:00:38.556 ********** skipping: [managed-node2] => { "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 dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 14 March 2025 10:26:19 -0400 (0:00:00.030) 0:00:38.587 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008873", "end": "2025-03-14 10:26:19.652029", "rc": 0, "start": "2025-03-14 10:26:19.643156" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 14 March 2025 10:26:19 -0400 (0:00:00.485) 0:00:39.073 ********** skipping: [managed-node2] => { "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 dummy1298] ****************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 14 March 2025 10:26:19 -0400 (0:00:00.092) 0:00:39.166 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "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/tasks/create_and_remove_interface.yml:27 Friday 14 March 2025 10:26:19 -0400 (0:00:00.084) 0:00:39.250 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 14 March 2025 10:26:20 -0400 (0:00:00.202) 0:00:39.453 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 14 March 2025 10:26:20 -0400 (0:00:00.076) 0:00:39.530 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003935", "end": "2025-03-14 10:26:20.699353", "rc": 0, "start": "2025-03-14 10:26:20.695418" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 14 March 2025 10:26:20 -0400 (0:00:00.577) 0:00:40.108 ********** ok: [managed-node2] => { "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/tasks/show_interfaces.yml:5 Friday 14 March 2025 10:26:20 -0400 (0:00:00.066) 0:00:40.174 ********** ok: [managed-node2] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 14 March 2025 10:26:20 -0400 (0:00:00.052) 0:00:40.226 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 14 March 2025 10:26:21 -0400 (0:00:00.156) 0:00:40.383 ********** included: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 14 March 2025 10:26:21 -0400 (0:00:00.062) 0:00:40.445 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 14 March 2025 10:26:21 -0400 (0:00:00.519) 0:00:40.965 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Friday 14 March 2025 10:26:21 -0400 (0:00:00.064) 0:00:41.029 ********** =============================================================================== Gathering Facts --------------------------------------------------------- 2.17s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.73s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 1.25s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Install iproute --------------------------------------------------------- 1.24s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.19s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Check if system is ostree ----------------------------------------------- 1.17s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 1.16s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Install iproute --------------------------------------------------------- 1.06s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.03s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.00s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.97s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Get stat for interface dummy1298 ---------------------------------------- 0.88s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.70s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Set up veth as managed by NetworkManager -------------------------------- 0.68s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.64s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.61s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.61s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.61s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.61s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Get stat for interface dummy1298 ---------------------------------------- 0.60s /tmp/collections-npB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3