[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] 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-WNN 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.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-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Wednesday 14 August 2024 18:57:20 -0400 (0:00:00.048) 0:00:00.049 ****** ok: [managed_node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Wednesday 14 August 2024 18:57:22 -0400 (0:00:01.481) 0:00:01.530 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 14 August 2024 18:57:22 -0400 (0:00:00.023) 0:00:01.553 ****** ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 14 August 2024 18:57:22 -0400 (0:00:00.510) 0:00:02.063 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 14 August 2024 18:57:23 -0400 (0:00:00.458) 0:00:02.522 ****** ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 14 August 2024 18:57:23 -0400 (0:00:00.025) 0:00:02.548 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 14 August 2024 18:57:23 -0400 (0:00:00.016) 0:00:02.564 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 14 August 2024 18:57:23 -0400 (0:00:00.050) 0:00:02.615 ****** ok: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 14 August 2024 18:57:23 -0400 (0:00:00.453) 0:00:03.069 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 14 August 2024 18:57:23 -0400 (0:00:00.016) 0:00:03.086 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 14 August 2024 18:57:23 -0400 (0:00:00.016) 0:00:03.102 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.222628", "end": "2024-08-14 18:57:24.297144", "rc": 0, "start": "2024-08-14 18:57:24.074516" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.572) 0:00:03.675 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.030) 0:00:03.705 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.040) 0:00:03.745 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.033) 0:00:03.779 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.025) 0:00:03.805 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003133", "end": "2024-08-14 18:57:24.785416", "rc": 0, "start": "2024-08-14 18:57:24.782283" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.362) 0:00:04.167 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.030) 0:00:04.197 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.028) 0:00:04.225 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.051) 0:00:04.277 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:57:24 -0400 (0:00:00.030) 0:00:04.308 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:57:25 -0400 (0:00:00.023) 0:00:04.332 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:25 -0400 (0:00:00.082) 0:00:04.414 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:25 -0400 (0:00:00.054) 0:00:04.468 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003083", "end": "2024-08-14 18:57:25.491207", "rc": 0, "start": "2024-08-14 18:57:25.488124" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:25 -0400 (0:00:00.399) 0:00:04.868 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:25 -0400 (0:00:00.019) 0:00:04.888 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:57:25 -0400 (0:00:00.029) 0:00:04.917 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:57:28 -0400 (0:00:03.307) 0:00:08.225 ****** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:57:28 -0400 (0:00:00.033) 0:00:08.258 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:57:28 -0400 (0:00:00.017) 0:00:08.276 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:57:28 -0400 (0:00:00.023) 0:00:08.299 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.027) 0:00:08.326 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.025) 0:00:08.352 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.028) 0:00:08.380 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.022) 0:00:08.402 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.033) 0:00:08.436 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.021) 0:00:08.458 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002993", "end": "2024-08-14 18:57:29.441667", "rc": 0, "start": "2024-08-14 18:57:29.438674" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.351) 0:00:08.809 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.018) 0:00:08.828 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.019) 0:00:08.847 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.033) 0:00:08.881 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.034) 0:00:08.916 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.374) 0:00:09.290 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 14 August 2024 18:57:29 -0400 (0:00:00.020) 0:00:09.311 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.041) 0:00:09.352 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.015) 0:00:09.367 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.023) 0:00:09.390 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.036) 0:00:09.427 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.032) 0:00:09.460 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003063", "end": "2024-08-14 18:57:30.466717", "rc": 0, "start": "2024-08-14 18:57:30.463654" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.376) 0:00:09.837 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.019) 0:00:09.856 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:57:30 -0400 (0:00:00.019) 0:00:09.876 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:57:33 -0400 (0:00:02.969) 0:00:12.845 ****** ok: [managed_node3] => (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.011331", "end": "2024-08-14 18:57:33.831906", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-14 18:57:33.820575" } ok: [managed_node3] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003701", "end": "2024-08-14 18:57:34.199220", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-14 18:57:34.195519" } ok: [managed_node3] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003652", "end": "2024-08-14 18:57:34.538665", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-14 18:57:34.535013" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:57:34 -0400 (0:00:01.105) 0:00:13.950 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019985", "end": "2024-08-14 18:57:35.130709", "rc": 0, "start": "2024-08-14 18:57:35.110724" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.563) 0:00:14.514 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.054) 0:00:14.569 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.031) 0:00:14.601 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.026) 0:00:14.627 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.026) 0:00:14.654 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.064) 0:00:14.718 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.082) 0:00:14.801 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:35 -0400 (0:00:00.032) 0:00:14.833 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003057", "end": "2024-08-14 18:57:36.016599", "rc": 0, "start": "2024-08-14 18:57:36.013542" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.568) 0:00:15.401 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.029) 0:00:15.431 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.030) 0:00:15.461 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.059) 0:00:15.520 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.039) 0:00:15.560 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723676253.8240247, "block_size": 4096, "blocks": 0, "ctime": 1723676253.8240247, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29838, "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": 1723676253.8240247, "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.385) 0:00:15.945 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.019) 0:00:15.965 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.044) 0:00:16.010 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.015) 0:00:16.025 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.015) 0:00:16.041 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.022) 0:00:16.064 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:36 -0400 (0:00:00.020) 0:00:16.084 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002981", "end": "2024-08-14 18:57:37.066122", "rc": 0, "start": "2024-08-14 18:57:37.063141" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:37 -0400 (0:00:00.357) 0:00:16.442 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:37 -0400 (0:00:00.028) 0:00:16.471 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:57:37 -0400 (0:00:00.031) 0:00:16.502 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:57:40 -0400 (0:00:02.914) 0:00:19.416 ****** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.032) 0:00:19.448 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.019) 0:00:19.468 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010861", "end": "2024-08-14 18:57:40.455091", "rc": 0, "start": "2024-08-14 18:57:40.444230" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.361) 0:00:19.829 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.019) 0:00:19.849 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.019) 0:00:19.868 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.028) 0:00:19.896 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.019) 0:00:19.916 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.043) 0:00:19.959 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.020) 0:00:19.979 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003133", "end": "2024-08-14 18:57:40.953284", "rc": 0, "start": "2024-08-14 18:57:40.950151" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:40 -0400 (0:00:00.342) 0:00:20.322 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.026) 0:00:20.348 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.020) 0:00:20.369 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.053) 0:00:20.422 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.020) 0:00:20.443 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.399) 0:00:20.842 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.026) 0:00:20.868 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.046) 0:00:20.915 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.061) 0:00:20.977 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:41 -0400 (0:00:00.056) 0:00:21.033 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003121", "end": "2024-08-14 18:57:42.019918", "rc": 0, "start": "2024-08-14 18:57:42.016797" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.355) 0:00:21.389 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.020) 0:00:21.410 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.019) 0:00:21.430 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.029) 0:00:21.459 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.015) 0:00:21.475 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.016) 0:00:21.492 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.023) 0:00:21.516 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.021) 0:00:21.537 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003122", "end": "2024-08-14 18:57:42.509579", "rc": 0, "start": "2024-08-14 18:57:42.506457" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.341) 0:00:21.878 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.021) 0:00:21.900 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:57:42 -0400 (0:00:00.019) 0:00:21.919 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:57:45 -0400 (0:00:03.016) 0:00:24.936 ****** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:57:45 -0400 (0:00:00.088) 0:00:25.024 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:57:45 -0400 (0:00:00.035) 0:00:25.060 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:57:45 -0400 (0:00:00.056) 0:00:25.116 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:57:45 -0400 (0:00:00.081) 0:00:25.198 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:57:45 -0400 (0:00:00.042) 0:00:25.240 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:57:45 -0400 (0:00:00.036) 0:00:25.277 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.056) 0:00:25.333 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.060) 0:00:25.394 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.053) 0:00:25.447 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003033", "end": "2024-08-14 18:57:46.481322", "rc": 0, "start": "2024-08-14 18:57:46.478289" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.410) 0:00:25.857 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.062) 0:00:25.920 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.042) 0:00:25.962 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.078) 0:00:26.041 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:57:46 -0400 (0:00:00.037) 0:00:26.079 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.355) 0:00:26.435 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.030) 0:00:26.465 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.061) 0:00:26.526 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.025) 0:00:26.552 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.034) 0:00:26.586 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.064) 0:00:26.650 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.050) 0:00:26.701 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003057", "end": "2024-08-14 18:57:47.743961", "rc": 0, "start": "2024-08-14 18:57:47.740904" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.436) 0:00:27.137 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.060) 0:00:27.198 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:57:47 -0400 (0:00:00.041) 0:00:27.239 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:57:50 -0400 (0:00:03.044) 0:00:30.284 ****** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:57:50 -0400 (0:00:00.029) 0:00:30.313 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.016) 0:00:30.330 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.017) 0:00:30.348 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009468", "end": "2024-08-14 18:57:51.338476", "rc": 0, "start": "2024-08-14 18:57:51.329008" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.367) 0:00:30.715 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.017) 0:00:30.733 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.016) 0:00:30.750 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.017) 0:00:30.767 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.033) 0:00:30.801 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.021) 0:00:30.822 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003054", "end": "2024-08-14 18:57:51.793755", "rc": 0, "start": "2024-08-14 18:57:51.790701" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.340) 0:00:31.162 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.020) 0:00:31.183 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.021) 0:00:31.205 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.045) 0:00:31.251 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:57:51 -0400 (0:00:00.031) 0:00:31.282 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723676271.3370626, "block_size": 4096, "blocks": 0, "ctime": 1723676271.3370626, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30161, "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": 1723676271.3370626, "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.355) 0:00:31.637 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.020) 0:00:31.658 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.043) 0:00:31.702 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.016) 0:00:31.718 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.015) 0:00:31.734 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.022) 0:00:31.757 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.022) 0:00:31.780 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003134", "end": "2024-08-14 18:57:52.757523", "rc": 0, "start": "2024-08-14 18:57:52.754389" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.356) 0:00:32.136 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.113) 0:00:32.249 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:57:52 -0400 (0:00:00.031) 0:00:32.281 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:57:56 -0400 (0:00:03.068) 0:00:35.349 ****** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.035) 0:00:35.384 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.020) 0:00:35.405 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.022) 0:00:35.428 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.025) 0:00:35.453 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008466", "end": "2024-08-14 18:57:56.471979", "rc": 0, "start": "2024-08-14 18:57:56.463513" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.397) 0:00:35.850 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.028) 0:00:35.879 ****** skipping: [managed_node3] => { "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.020) 0:00:35.900 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.073) 0:00:35.974 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:57:56 -0400 (0:00:00.042) 0:00:36.017 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003025", "end": "2024-08-14 18:57:57.045851", "rc": 0, "start": "2024-08-14 18:57:57.042826" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:57:57 -0400 (0:00:00.446) 0:00:36.463 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:57:57 -0400 (0:00:00.056) 0:00:36.520 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 14 August 2024 18:57:57 -0400 (0:00:00.033) 0:00:36.553 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 14 August 2024 18:57:57 -0400 (0:00:00.090) 0:00:36.644 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:57:57 -0400 (0:00:00.053) 0:00:36.697 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 14 August 2024 18:57:57 -0400 (0:00:00.377) 0:00:37.075 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node3 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Wednesday 14 August 2024 18:57:57 -0400 (0:00:00.048) 0:00:37.124 ****** =============================================================================== Install iproute --------------------------------------------------------- 3.31s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.07s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.04s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.02s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.97s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.91s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.48s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.11s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.57s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Gather current interface info ------------------------------------------- 0.57s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.56s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.46s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Create EPEL 8 ----------------------------------------------------------- 0.45s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Gather current interface info ------------------------------------------- 0.45s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.40s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54