ansible-playbook [core 2.17.4] 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-iKM executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 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-iKM/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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Thursday 03 October 2024 23:50:42 -0400 (0:00:00.027) 0:00:00.027 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Thursday 03 October 2024 23:50:43 -0400 (0:00:01.204) 0:00:01.231 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:50:43 -0400 (0:00:00.020) 0:00:01.252 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:50:43 -0400 (0:00:00.522) 0:00:01.774 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.428) 0:00:02.203 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.022) 0:00:02.225 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.014) 0:00:02.239 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.040) 0:00:02.279 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.013) 0:00:02.293 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.012) 0:00:02.305 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.013) 0:00:02.319 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.013) 0:00:02.332 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.015) 0:00:02.348 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.019) 0:00:02.367 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.016) 0:00:02.384 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:44 -0400 (0:00:00.015) 0:00:02.399 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003897", "end": "2024-10-03 23:50:44.947644", "rc": 0, "start": "2024-10-03 23:50:44.943747" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.439) 0:00:02.839 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.017) 0:00:02.857 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.016) 0:00:02.874 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.025) 0:00:02.900 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.014) 0:00:02.914 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.012) 0:00:02.927 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.021) 0:00:02.948 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.018) 0:00:02.966 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004070", "end": "2024-10-03 23:50:45.430128", "rc": 0, "start": "2024-10-03 23:50:45.426058" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.353) 0:00:03.320 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.017) 0:00:03.337 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:50:45 -0400 (0:00:00.016) 0:00:03.354 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.827) 0:00:04.181 ****** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.022) 0:00:04.204 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.014) 0:00:04.219 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.013) 0:00:04.233 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.014) 0:00:04.247 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.015) 0:00:04.262 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.013) 0:00:04.276 ****** skipping: [managed-node1] => { "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.013) 0:00:04.290 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.021) 0:00:04.311 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.016) 0:00:04.327 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003446", "end": "2024-10-03 23:50:46.790351", "rc": 0, "start": "2024-10-03 23:50:46.786905" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.359) 0:00:04.687 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.023) 0:00:04.710 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.015) 0:00:04.726 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.023) 0:00:04.750 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:50:46 -0400 (0:00:00.018) 0:00:04.768 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.348) 0:00:05.117 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.018) 0:00:05.136 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.029) 0:00:05.165 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.014) 0:00:05.180 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.014) 0:00:05.194 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.019) 0:00:05.214 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.018) 0:00:05.232 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003733", "end": "2024-10-03 23:50:47.694794", "rc": 0, "start": "2024-10-03 23:50:47.691061" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.351) 0:00:05.583 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.018) 0:00:05.602 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:50:47 -0400 (0:00:00.016) 0:00:05.619 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:50:48 -0400 (0:00:00.715) 0:00:06.334 ****** ok: [managed-node1] => (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.007654", "end": "2024-10-03 23:50:48.804619", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-03 23:50:48.796965" } ok: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003987", "end": "2024-10-03 23:50:49.201476", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-03 23:50:49.197489" } ok: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003702", "end": "2024-10-03 23:50:49.537565", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-03 23:50:49.533863" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:50:49 -0400 (0:00:01.092) 0:00:07.427 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021565", "end": "2024-10-03 23:50:49.906263", "rc": 0, "start": "2024-10-03 23:50:49.884698" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:50:49 -0400 (0:00:00.375) 0:00:07.802 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:50:49 -0400 (0:00:00.015) 0:00:07.817 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:50:49 -0400 (0:00:00.013) 0:00:07.831 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.014) 0:00:07.846 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.014) 0:00:07.861 ****** skipping: [managed-node1] => { "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.014) 0:00:07.876 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.026) 0:00:07.903 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.016) 0:00:07.920 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003375", "end": "2024-10-03 23:50:50.383662", "rc": 0, "start": "2024-10-03 23:50:50.380287" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.352) 0:00:08.272 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.016) 0:00:08.289 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.017) 0:00:08.306 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.029) 0:00:08.336 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.017) 0:00:08.353 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728013848.8012598, "block_size": 4096, "blocks": 0, "ctime": 1728013848.8012598, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30966, "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": 1728013848.8012598, "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.351) 0:00:08.704 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.017) 0:00:08.722 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.033) 0:00:08.755 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.013) 0:00:08.769 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.012) 0:00:08.782 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.017) 0:00:08.799 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:50 -0400 (0:00:00.023) 0:00:08.823 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003282", "end": "2024-10-03 23:50:51.291011", "rc": 0, "start": "2024-10-03 23:50:51.287729" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:51 -0400 (0:00:00.354) 0:00:09.178 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:51 -0400 (0:00:00.016) 0:00:09.195 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:50:51 -0400 (0:00:00.016) 0:00:09.211 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.707) 0:00:09.918 ****** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.023) 0:00:09.942 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.016) 0:00:09.958 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011694", "end": "2024-10-03 23:50:52.426673", "rc": 0, "start": "2024-10-03 23:50:52.414979" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.371) 0:00:10.329 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.018) 0:00:10.347 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.015) 0:00:10.363 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.015) 0:00:10.378 ****** skipping: [managed-node1] => { "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.015) 0:00:10.393 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.032) 0:00:10.426 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.017) 0:00:10.443 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003447", "end": "2024-10-03 23:50:52.916236", "rc": 0, "start": "2024-10-03 23:50:52.912789" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.363) 0:00:10.807 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:52 -0400 (0:00:00.017) 0:00:10.825 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.017) 0:00:10.842 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.032) 0:00:10.874 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.030) 0:00:10.905 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.358) 0:00:11.263 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.019) 0:00:11.282 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.021) 0:00:11.303 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.017) 0:00:11.321 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.016) 0:00:11.337 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003473", "end": "2024-10-03 23:50:53.795444", "rc": 0, "start": "2024-10-03 23:50:53.791971" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.346) 0:00:11.684 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.018) 0:00:11.703 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.017) 0:00:11.720 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.024) 0:00:11.744 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.013) 0:00:11.757 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.013) 0:00:11.771 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.020) 0:00:11.792 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:53 -0400 (0:00:00.017) 0:00:11.809 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003363", "end": "2024-10-03 23:50:54.273899", "rc": 0, "start": "2024-10-03 23:50:54.270536" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:54 -0400 (0:00:00.353) 0:00:12.163 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:54 -0400 (0:00:00.018) 0:00:12.181 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:50:54 -0400 (0:00:00.018) 0:00:12.200 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.728) 0:00:12.928 ****** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.024) 0:00:12.952 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.017) 0:00:12.970 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.026) 0:00:12.997 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.023) 0:00:13.020 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.016) 0:00:13.036 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.014) 0:00:13.051 ****** skipping: [managed-node1] => { "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.016) 0:00:13.068 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.022) 0:00:13.091 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.017) 0:00:13.108 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003357", "end": "2024-10-03 23:50:55.570821", "rc": 0, "start": "2024-10-03 23:50:55.567464" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.350) 0:00:13.459 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.023) 0:00:13.483 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.017) 0:00:13.500 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.022) 0:00:13.523 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:50:55 -0400 (0:00:00.018) 0:00:13.541 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.346) 0:00:13.888 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.018) 0:00:13.907 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.029) 0:00:13.936 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.015) 0:00:13.952 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.014) 0:00:13.966 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.020) 0:00:13.987 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.019) 0:00:14.006 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-10-03 23:50:56.472401", "rc": 0, "start": "2024-10-03 23:50:56.469081" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.355) 0:00:14.361 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.017) 0:00:14.379 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:50:56 -0400 (0:00:00.019) 0:00:14.398 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.717) 0:00:15.115 ****** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.025) 0:00:15.141 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.015) 0:00:15.156 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.015) 0:00:15.172 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012646", "end": "2024-10-03 23:50:57.645643", "rc": 0, "start": "2024-10-03 23:50:57.632997" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.376) 0:00:15.548 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.017) 0:00:15.566 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.016) 0:00:15.583 ****** skipping: [managed-node1] => { "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.015) 0:00:15.598 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.027) 0:00:15.625 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:57 -0400 (0:00:00.017) 0:00:15.643 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003512", "end": "2024-10-03 23:50:58.103406", "rc": 0, "start": "2024-10-03 23:50:58.099894" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.349) 0:00:15.993 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.018) 0:00:16.012 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.017) 0:00:16.029 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.028) 0:00:16.057 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.019) 0:00:16.077 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728013857.643647, "block_size": 4096, "blocks": 0, "ctime": 1728013857.643647, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31209, "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": 1728013857.643647, "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.417) 0:00:16.495 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.019) 0:00:16.515 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.036) 0:00:16.551 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.015) 0:00:16.566 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.013) 0:00:16.580 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.020) 0:00:16.600 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:50:58 -0400 (0:00:00.017) 0:00:16.617 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003676", "end": "2024-10-03 23:50:59.080139", "rc": 0, "start": "2024-10-03 23:50:59.076463" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.351) 0:00:16.969 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.018) 0:00:16.987 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.018) 0:00:17.006 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.700) 0:00:17.707 ****** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.025) 0:00:17.733 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.015) 0:00:17.748 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.015) 0:00:17.764 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 03 October 2024 23:50:59 -0400 (0:00:00.018) 0:00:17.782 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007717", "end": "2024-10-03 23:51:00.256850", "rc": 0, "start": "2024-10-03 23:51:00.249133" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.364) 0:00:18.147 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.016) 0:00:18.163 ****** skipping: [managed-node1] => { "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-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.018) 0:00:18.182 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.047) 0:00:18.230 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.018) 0:00:18.249 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003575", "end": "2024-10-03 23:51:00.708404", "rc": 0, "start": "2024-10-03 23:51:00.704829" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.347) 0:00:18.597 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.018) 0:00:18.615 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.017) 0:00:18.632 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.032) 0:00:18.664 ****** included: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:51:00 -0400 (0:00:00.016) 0:00:18.681 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:51:01 -0400 (0:00:00.343) 0:00:19.025 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Thursday 03 October 2024 23:51:01 -0400 (0:00:00.028) 0:00:19.053 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.20s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.09s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.83s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.73s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.70s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.52s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.43s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Get stat for interface dummy1298 ---------------------------------------- 0.42s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.38s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Set up veth as managed by NetworkManager -------------------------------- 0.38s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.37s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.36s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.36s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-iKM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3