ansible-playbook [core 2.16.14] 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-8SA executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Saturday 11 January 2025 07:47:38 -0500 (0:00:00.068) 0:00:00.068 ****** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Saturday 11 January 2025 07:47:40 -0500 (0:00:01.271) 0:00:01.340 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 11 January 2025 07:47:40 -0500 (0:00:00.029) 0:00:01.369 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 11 January 2025 07:47:40 -0500 (0:00:00.566) 0:00:01.936 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 11 January 2025 07:47:41 -0500 (0:00:00.628) 0:00:02.564 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 11 January 2025 07:47:41 -0500 (0:00:00.042) 0:00:02.607 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 11 January 2025 07:47:41 -0500 (0:00:00.025) 0:00:02.632 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 11 January 2025 07:47:41 -0500 (0:00:00.113) 0:00:02.746 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 11 January 2025 07:47:42 -0500 (0:00:00.631) 0:00:03.377 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 11 January 2025 07:47:42 -0500 (0:00:00.015) 0:00:03.393 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 11 January 2025 07:47:42 -0500 (0:00:00.014) 0:00:03.407 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.228527", "end": "2025-01-11 07:47:43.674443", "rc": 0, "start": "2025-01-11 07:47:42.445916" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 11 January 2025 07:47:43 -0500 (0:00:01.600) 0:00:05.007 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Saturday 11 January 2025 07:47:43 -0500 (0:00:00.021) 0:00:05.029 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 11 January 2025 07:47:43 -0500 (0:00:00.021) 0:00:05.051 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:47:43 -0500 (0:00:00.022) 0:00:05.073 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:47:43 -0500 (0:00:00.018) 0:00:05.092 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003297", "end": "2025-01-11 07:47:44.094874", "rc": 0, "start": "2025-01-11 07:47:44.091577" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.329) 0:00:05.421 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.020) 0:00:05.441 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.018) 0:00:05.460 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.031) 0:00:05.492 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.015) 0:00:05.507 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.013) 0:00:05.521 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.019) 0:00:05.540 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.016) 0:00:05.557 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003657", "end": "2025-01-11 07:47:44.558584", "rc": 0, "start": "2025-01-11 07:47:44.554927" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.333) 0:00:05.891 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.027) 0:00:05.918 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 11 January 2025 07:47:44 -0500 (0:00:00.024) 0:00:05.943 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 11 January 2025 07:47:48 -0500 (0:00:04.032) 0:00:09.975 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.038) 0:00:10.014 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.021) 0:00:10.035 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.023) 0:00:10.058 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.020) 0:00:10.079 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.021) 0:00:10.100 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.020) 0:00:10.121 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.021) 0:00:10.142 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.038) 0:00:10.181 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:47:48 -0500 (0:00:00.033) 0:00:10.214 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003697", "end": "2025-01-11 07:47:49.403312", "rc": 0, "start": "2025-01-11 07:47:49.399615" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:47:49 -0500 (0:00:00.514) 0:00:10.729 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:47:49 -0500 (0:00:00.022) 0:00:10.752 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 11 January 2025 07:47:49 -0500 (0:00:00.017) 0:00:10.770 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:47:49 -0500 (0:00:00.025) 0:00:10.795 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:47:49 -0500 (0:00:00.017) 0:00:10.813 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:47:49 -0500 (0:00:00.379) 0:00:11.193 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 11 January 2025 07:47:49 -0500 (0:00:00.069) 0:00:11.263 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.105) 0:00:11.369 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.028) 0:00:11.398 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.030) 0:00:11.428 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.080) 0:00:11.509 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.049) 0:00:11.559 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003113", "end": "2025-01-11 07:47:50.601381", "rc": 0, "start": "2025-01-11 07:47:50.598268" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.367) 0:00:11.926 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.018) 0:00:11.945 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 11 January 2025 07:47:50 -0500 (0:00:00.016) 0:00:11.962 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 11 January 2025 07:47:53 -0500 (0:00:02.944) 0:00:14.906 ****** 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.011296", "end": "2025-01-11 07:47:53.931866", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2025-01-11 07:47:53.920570" } 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.003633", "end": "2025-01-11 07:47:54.317014", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2025-01-11 07:47:54.313381" } 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.004455", "end": "2025-01-11 07:47:54.647340", "item": "ip link set veth1298 up", "rc": 0, "start": "2025-01-11 07:47:54.642885" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 11 January 2025 07:47:54 -0500 (0:00:01.086) 0:00:15.992 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020398", "end": "2025-01-11 07:47:55.052824", "rc": 0, "start": "2025-01-11 07:47:55.032426" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.391) 0:00:16.384 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.016) 0:00:16.400 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.019) 0:00:16.420 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.014) 0:00:16.434 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.021) 0:00:16.456 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.019) 0:00:16.475 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.040) 0:00:16.516 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.025) 0:00:16.542 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003030", "end": "2025-01-11 07:47:55.559502", "rc": 0, "start": "2025-01-11 07:47:55.556472" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.341) 0:00:16.883 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.017) 0:00:16.900 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.016) 0:00:16.917 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.029) 0:00:16.947 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:47:55 -0500 (0:00:00.016) 0:00:16.963 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599673.9241037, "block_size": 4096, "blocks": 0, "ctime": 1736599673.9241037, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32772, "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": 1736599673.9241037, "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.333) 0:00:17.297 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.025) 0:00:17.322 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.045) 0:00:17.368 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.016) 0:00:17.384 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.014) 0:00:17.399 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.018) 0:00:17.417 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.016) 0:00:17.434 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003005", "end": "2025-01-11 07:47:56.436864", "rc": 0, "start": "2025-01-11 07:47:56.433859" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.333) 0:00:17.767 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.024) 0:00:17.792 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 11 January 2025 07:47:56 -0500 (0:00:00.024) 0:00:17.817 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 11 January 2025 07:47:59 -0500 (0:00:02.905) 0:00:20.723 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 11 January 2025 07:47:59 -0500 (0:00:00.030) 0:00:20.753 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 11 January 2025 07:47:59 -0500 (0:00:00.016) 0:00:20.770 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009492", "end": "2025-01-11 07:47:59.801196", "rc": 0, "start": "2025-01-11 07:47:59.791704" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 11 January 2025 07:47:59 -0500 (0:00:00.407) 0:00:21.177 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 11 January 2025 07:47:59 -0500 (0:00:00.044) 0:00:21.221 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 11 January 2025 07:47:59 -0500 (0:00:00.028) 0:00:21.250 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 11 January 2025 07:47:59 -0500 (0:00:00.022) 0:00:21.272 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.024) 0:00:21.297 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.069) 0:00:21.366 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.032) 0:00:21.399 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003144", "end": "2025-01-11 07:48:00.430737", "rc": 0, "start": "2025-01-11 07:48:00.427593" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.357) 0:00:21.756 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.024) 0:00:21.781 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.020) 0:00:21.802 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.048) 0:00:21.850 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.024) 0:00:21.874 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.332) 0:00:22.207 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.021) 0:00:22.229 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.026) 0:00:22.256 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:00 -0500 (0:00:00.018) 0:00:22.274 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.025) 0:00:22.299 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003834", "end": "2025-01-11 07:48:01.322720", "rc": 0, "start": "2025-01-11 07:48:01.318886" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.348) 0:00:22.648 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.017) 0:00:22.665 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.017) 0:00:22.682 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.024) 0:00:22.707 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.013) 0:00:22.721 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.013) 0:00:22.734 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.020) 0:00:22.754 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.017) 0:00:22.771 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003068", "end": "2025-01-11 07:48:01.780781", "rc": 0, "start": "2025-01-11 07:48:01.777713" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.341) 0:00:23.113 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.019) 0:00:23.132 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 11 January 2025 07:48:01 -0500 (0:00:00.021) 0:00:23.154 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 11 January 2025 07:48:04 -0500 (0:00:02.956) 0:00:26.110 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 11 January 2025 07:48:04 -0500 (0:00:00.039) 0:00:26.150 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 11 January 2025 07:48:04 -0500 (0:00:00.024) 0:00:26.174 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 11 January 2025 07:48:04 -0500 (0:00:00.022) 0:00:26.196 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 11 January 2025 07:48:04 -0500 (0:00:00.024) 0:00:26.220 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 11 January 2025 07:48:04 -0500 (0:00:00.022) 0:00:26.243 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 11 January 2025 07:48:04 -0500 (0:00:00.023) 0:00:26.267 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.021) 0:00:26.288 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.036) 0:00:26.325 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.037) 0:00:26.362 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002975", "end": "2025-01-11 07:48:05.363857", "rc": 0, "start": "2025-01-11 07:48:05.360882" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.323) 0:00:26.686 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.018) 0:00:26.704 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.016) 0:00:26.720 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.024) 0:00:26.745 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.021) 0:00:26.766 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.358) 0:00:27.125 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.020) 0:00:27.145 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.030) 0:00:27.176 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.014) 0:00:27.190 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.013) 0:00:27.204 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.019) 0:00:27.223 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:05 -0500 (0:00:00.017) 0:00:27.241 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003468", "end": "2025-01-11 07:48:06.302867", "rc": 0, "start": "2025-01-11 07:48:06.299399" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:06 -0500 (0:00:00.398) 0:00:27.639 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:06 -0500 (0:00:00.030) 0:00:27.670 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 11 January 2025 07:48:06 -0500 (0:00:00.026) 0:00:27.696 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 11 January 2025 07:48:09 -0500 (0:00:02.885) 0:00:30.581 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.030) 0:00:30.611 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.015) 0:00:30.627 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.014) 0:00:30.642 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008842", "end": "2025-01-11 07:48:09.648864", "rc": 0, "start": "2025-01-11 07:48:09.640022" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.341) 0:00:30.983 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.021) 0:00:31.004 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.017) 0:00:31.022 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.019) 0:00:31.041 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.041) 0:00:31.082 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:09 -0500 (0:00:00.028) 0:00:31.111 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003060", "end": "2025-01-11 07:48:10.243019", "rc": 0, "start": "2025-01-11 07:48:10.239959" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.461) 0:00:31.572 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.023) 0:00:31.595 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.016) 0:00:31.612 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.028) 0:00:31.640 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.018) 0:00:31.659 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599689.6479466, "block_size": 4096, "blocks": 0, "ctime": 1736599689.6479466, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33095, "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": 1736599689.6479466, "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.361) 0:00:32.020 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.033) 0:00:32.053 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.046) 0:00:32.100 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.014) 0:00:32.115 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.015) 0:00:32.131 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.022) 0:00:32.153 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:10 -0500 (0:00:00.021) 0:00:32.174 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003139", "end": "2025-01-11 07:48:11.178432", "rc": 0, "start": "2025-01-11 07:48:11.175293" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:11 -0500 (0:00:00.335) 0:00:32.510 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:11 -0500 (0:00:00.027) 0:00:32.537 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 11 January 2025 07:48:11 -0500 (0:00:00.025) 0:00:32.563 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 11 January 2025 07:48:14 -0500 (0:00:02.888) 0:00:35.452 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.054) 0:00:35.506 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.023) 0:00:35.530 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.025) 0:00:35.555 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.024) 0:00:35.580 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009729", "end": "2025-01-11 07:48:14.662038", "rc": 0, "start": "2025-01-11 07:48:14.652309" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.407) 0:00:35.988 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.017) 0:00:36.005 ****** 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.017) 0:00:36.022 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.073) 0:00:36.096 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:48:14 -0500 (0:00:00.020) 0:00:36.116 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003140", "end": "2025-01-11 07:48:15.199009", "rc": 0, "start": "2025-01-11 07:48:15.195869" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:48:15 -0500 (0:00:00.410) 0:00:36.527 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:48:15 -0500 (0:00:00.023) 0:00:36.550 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 11 January 2025 07:48:15 -0500 (0:00:00.032) 0:00:36.583 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:48:15 -0500 (0:00:00.116) 0:00:36.699 ****** included: /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:48:15 -0500 (0:00:00.043) 0:00:36.743 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:48:15 -0500 (0:00:00.372) 0:00:37.116 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 11 January 2025 07:48:15 -0500 (0:00:00.031) 0:00:37.148 ****** =============================================================================== Install iproute --------------------------------------------------------- 4.03s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.91s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.89s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.89s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Enable EPEL 8 ----------------------------------------------------------- 1.60s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.09s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Create EPEL 8 ----------------------------------------------------------- 0.63s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Check if system is ostree ----------------------------------------------- 0.63s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather the minimum subset of ansible_facts required by the network role test --- 0.57s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.51s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.46s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Delete veth interface veth1298 ------------------------------------------ 0.41s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.39s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Get stat for interface veth1298 ----------------------------------------- 0.38s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3