ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-vC4 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Friday 07 February 2025 15:28:54 -0500 (0:00:00.034) 0:00:00.034 ******* ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Friday 07 February 2025 15:28:55 -0500 (0:00:01.085) 0:00:01.119 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 07 February 2025 15:28:55 -0500 (0:00:00.020) 0:00:01.140 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 07 February 2025 15:28:56 -0500 (0:00:00.512) 0:00:01.653 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 07 February 2025 15:28:56 -0500 (0:00:00.464) 0:00:02.117 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 07 February 2025 15:28:56 -0500 (0:00:00.029) 0:00:02.146 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 07 February 2025 15:28:56 -0500 (0:00:00.017) 0:00:02.164 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 07 February 2025 15:28:56 -0500 (0:00:00.089) 0:00:02.253 ******* ok: [managed-node1] => { "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 07 February 2025 15:28:57 -0500 (0:00:00.447) 0:00:02.701 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 07 February 2025 15:28:57 -0500 (0:00:00.014) 0:00:02.716 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 07 February 2025 15:28:57 -0500 (0:00:00.014) 0:00:02.730 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.231705", "end": "2025-02-07 15:28:57.840860", "rc": 0, "start": "2025-02-07 15:28:57.609155" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 07 February 2025 15:28:57 -0500 (0:00:00.635) 0:00:03.366 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Friday 07 February 2025 15:28:57 -0500 (0:00:00.023) 0:00:03.389 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 07 February 2025 15:28:57 -0500 (0:00:00.041) 0:00:03.431 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:28:58 -0500 (0:00:00.029) 0:00:03.460 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:28:58 -0500 (0:00:00.026) 0:00:03.487 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003161", "end": "2025-02-07 15:28:58.365802", "rc": 0, "start": "2025-02-07 15:28:58.362641" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:28:58 -0500 (0:00:00.437) 0:00:03.925 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:28:58 -0500 (0:00:00.037) 0:00:03.962 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 07 February 2025 15:28:58 -0500 (0:00:00.053) 0:00:04.015 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:28:58 -0500 (0:00:00.069) 0:00:04.085 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:28:58 -0500 (0:00:00.030) 0:00:04.115 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:28:58 -0500 (0:00:00.021) 0:00:04.136 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:28:58 -0500 (0:00:00.032) 0:00:04.169 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:28:58 -0500 (0:00:00.028) 0:00:04.197 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003125", "end": "2025-02-07 15:28:59.084659", "rc": 0, "start": "2025-02-07 15:28:59.081534" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:28:59 -0500 (0:00:00.383) 0:00:04.581 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:28:59 -0500 (0:00:00.017) 0:00:04.599 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:28:59 -0500 (0:00:00.016) 0:00:04.615 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:29:02 -0500 (0:00:03.707) 0:00:08.323 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:29:02 -0500 (0:00:00.024) 0:00:08.348 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:29:02 -0500 (0:00:00.014) 0:00:08.362 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:29:02 -0500 (0:00:00.015) 0:00:08.377 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:29:02 -0500 (0:00:00.014) 0:00:08.392 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:29:02 -0500 (0:00:00.014) 0:00:08.407 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:29:02 -0500 (0:00:00.015) 0:00:08.422 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 07 February 2025 15:29:02 -0500 (0:00:00.014) 0:00:08.436 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:03 -0500 (0:00:00.023) 0:00:08.460 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:03 -0500 (0:00:00.017) 0:00:08.478 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003244", "end": "2025-02-07 15:29:03.317553", "rc": 0, "start": "2025-02-07 15:29:03.314309" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:03 -0500 (0:00:00.337) 0:00:08.815 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:03 -0500 (0:00:00.017) 0:00:08.832 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 07 February 2025 15:29:03 -0500 (0:00:00.017) 0:00:08.849 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:29:03 -0500 (0:00:00.023) 0:00:08.873 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:29:03 -0500 (0:00:00.018) 0:00:08.891 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:29:03 -0500 (0:00:00.344) 0:00:09.236 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 07 February 2025 15:29:03 -0500 (0:00:00.021) 0:00:09.257 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:29:03 -0500 (0:00:00.029) 0:00:09.287 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:29:03 -0500 (0:00:00.013) 0:00:09.300 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:29:03 -0500 (0:00:00.013) 0:00:09.314 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:03 -0500 (0:00:00.019) 0:00:09.334 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:03 -0500 (0:00:00.019) 0:00:09.353 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2025-02-07 15:29:04.190890", "rc": 0, "start": "2025-02-07 15:29:04.187738" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:04 -0500 (0:00:00.334) 0:00:09.688 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:04 -0500 (0:00:00.018) 0:00:09.706 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:29:04 -0500 (0:00:00.017) 0:00:09.724 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:29:07 -0500 (0:00:02.953) 0:00:12.678 ******* 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.010948", "end": "2025-02-07 15:29:07.557142", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2025-02-07 15:29:07.546194" } 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.003593", "end": "2025-02-07 15:29:07.999542", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2025-02-07 15:29:07.995949" } 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.003715", "end": "2025-02-07 15:29:08.457005", "item": "ip link set veth1298 up", "rc": 0, "start": "2025-02-07 15:29:08.453290" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:29:08 -0500 (0:00:01.276) 0:00:13.954 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021200", "end": "2025-02-07 15:29:08.829608", "rc": 0, "start": "2025-02-07 15:29:08.808408" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:29:08 -0500 (0:00:00.405) 0:00:14.360 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:29:08 -0500 (0:00:00.036) 0:00:14.397 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:29:08 -0500 (0:00:00.028) 0:00:14.425 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:29:09 -0500 (0:00:00.034) 0:00:14.459 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:29:09 -0500 (0:00:00.055) 0:00:14.515 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 07 February 2025 15:29:09 -0500 (0:00:00.038) 0:00:14.553 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:09 -0500 (0:00:00.111) 0:00:14.665 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:09 -0500 (0:00:00.037) 0:00:14.703 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003149", "end": "2025-02-07 15:29:09.606950", "rc": 0, "start": "2025-02-07 15:29:09.603801" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:09 -0500 (0:00:00.401) 0:00:15.104 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:09 -0500 (0:00:00.018) 0:00:15.123 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 07 February 2025 15:29:09 -0500 (0:00:00.017) 0:00:15.141 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:29:09 -0500 (0:00:00.033) 0:00:15.174 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:29:09 -0500 (0:00:00.021) 0:00:15.196 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960147.5497613, "block_size": 4096, "blocks": 0, "ctime": 1738960147.5497613, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32858, "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": 1738960147.5497613, "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:29:10 -0500 (0:00:00.472) 0:00:15.668 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 07 February 2025 15:29:10 -0500 (0:00:00.018) 0:00:15.687 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:29:10 -0500 (0:00:00.034) 0:00:15.721 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:29:10 -0500 (0:00:00.013) 0:00:15.735 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:29:10 -0500 (0:00:00.013) 0:00:15.749 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:10 -0500 (0:00:00.021) 0:00:15.770 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:10 -0500 (0:00:00.020) 0:00:15.791 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003511", "end": "2025-02-07 15:29:10.680699", "rc": 0, "start": "2025-02-07 15:29:10.677188" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:10 -0500 (0:00:00.393) 0:00:16.184 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:10 -0500 (0:00:00.031) 0:00:16.215 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:29:10 -0500 (0:00:00.030) 0:00:16.246 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:29:13 -0500 (0:00:02.945) 0:00:19.191 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:29:13 -0500 (0:00:00.039) 0:00:19.230 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:29:13 -0500 (0:00:00.023) 0:00:19.254 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011732", "end": "2025-02-07 15:29:14.132693", "rc": 0, "start": "2025-02-07 15:29:14.120961" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:29:14 -0500 (0:00:00.392) 0:00:19.647 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:29:14 -0500 (0:00:00.022) 0:00:19.670 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:29:14 -0500 (0:00:00.022) 0:00:19.693 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:29:14 -0500 (0:00:00.024) 0:00:19.718 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 07 February 2025 15:29:14 -0500 (0:00:00.025) 0:00:19.744 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:14 -0500 (0:00:00.093) 0:00:19.837 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:14 -0500 (0:00:00.037) 0:00:19.875 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003108", "end": "2025-02-07 15:29:14.797214", "rc": 0, "start": "2025-02-07 15:29:14.794106" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:14 -0500 (0:00:00.428) 0:00:20.303 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:14 -0500 (0:00:00.026) 0:00:20.330 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 07 February 2025 15:29:14 -0500 (0:00:00.025) 0:00:20.356 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:29:14 -0500 (0:00:00.056) 0:00:20.412 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:29:14 -0500 (0:00:00.035) 0:00:20.448 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:29:15 -0500 (0:00:00.423) 0:00:20.871 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Friday 07 February 2025 15:29:15 -0500 (0:00:00.018) 0:00:20.889 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 07 February 2025 15:29:15 -0500 (0:00:00.022) 0:00:20.912 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:15 -0500 (0:00:00.017) 0:00:20.929 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:15 -0500 (0:00:00.016) 0:00:20.946 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003873", "end": "2025-02-07 15:29:15.818750", "rc": 0, "start": "2025-02-07 15:29:15.814877" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:15 -0500 (0:00:00.440) 0:00:21.386 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:15 -0500 (0:00:00.034) 0:00:21.420 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 07 February 2025 15:29:16 -0500 (0:00:00.051) 0:00:21.472 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:29:16 -0500 (0:00:00.089) 0:00:21.561 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:29:16 -0500 (0:00:00.031) 0:00:21.593 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:29:16 -0500 (0:00:00.055) 0:00:21.648 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:16 -0500 (0:00:00.055) 0:00:21.704 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:16 -0500 (0:00:00.049) 0:00:21.753 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003139", "end": "2025-02-07 15:29:16.649131", "rc": 0, "start": "2025-02-07 15:29:16.645992" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:16 -0500 (0:00:00.405) 0:00:22.158 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:16 -0500 (0:00:00.027) 0:00:22.186 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:29:16 -0500 (0:00:00.027) 0:00:22.214 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:29:19 -0500 (0:00:02.981) 0:00:25.196 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:29:19 -0500 (0:00:00.047) 0:00:25.243 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:29:19 -0500 (0:00:00.025) 0:00:25.269 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:29:19 -0500 (0:00:00.022) 0:00:25.292 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:29:19 -0500 (0:00:00.025) 0:00:25.317 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:29:19 -0500 (0:00:00.023) 0:00:25.340 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:29:19 -0500 (0:00:00.023) 0:00:25.364 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 07 February 2025 15:29:19 -0500 (0:00:00.022) 0:00:25.386 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:19 -0500 (0:00:00.028) 0:00:25.414 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:19 -0500 (0:00:00.029) 0:00:25.444 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003710", "end": "2025-02-07 15:29:20.312091", "rc": 0, "start": "2025-02-07 15:29:20.308381" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:20 -0500 (0:00:00.365) 0:00:25.809 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:20 -0500 (0:00:00.017) 0:00:25.827 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 07 February 2025 15:29:20 -0500 (0:00:00.017) 0:00:25.844 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:29:20 -0500 (0:00:00.025) 0:00:25.870 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:29:20 -0500 (0:00:00.018) 0:00:25.888 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:29:20 -0500 (0:00:00.344) 0:00:26.232 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 07 February 2025 15:29:20 -0500 (0:00:00.025) 0:00:26.257 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:29:20 -0500 (0:00:00.047) 0:00:26.304 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:29:20 -0500 (0:00:00.021) 0:00:26.326 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:29:20 -0500 (0:00:00.021) 0:00:26.348 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:20 -0500 (0:00:00.021) 0:00:26.369 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:20 -0500 (0:00:00.021) 0:00:26.391 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003169", "end": "2025-02-07 15:29:21.230060", "rc": 0, "start": "2025-02-07 15:29:21.226891" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:21 -0500 (0:00:00.348) 0:00:26.740 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:21 -0500 (0:00:00.029) 0:00:26.769 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:29:21 -0500 (0:00:00.027) 0:00:26.797 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:29:24 -0500 (0:00:02.932) 0:00:29.729 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:29:24 -0500 (0:00:00.030) 0:00:29.759 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:29:24 -0500 (0:00:00.016) 0:00:29.775 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:29:24 -0500 (0:00:00.018) 0:00:29.794 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010137", "end": "2025-02-07 15:29:24.679833", "rc": 0, "start": "2025-02-07 15:29:24.669696" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:29:24 -0500 (0:00:00.394) 0:00:30.189 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:29:24 -0500 (0:00:00.022) 0:00:30.212 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:29:24 -0500 (0:00:00.020) 0:00:30.233 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 07 February 2025 15:29:24 -0500 (0:00:00.015) 0:00:30.248 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:24 -0500 (0:00:00.031) 0:00:30.279 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:24 -0500 (0:00:00.017) 0:00:30.297 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003463", "end": "2025-02-07 15:29:25.142566", "rc": 0, "start": "2025-02-07 15:29:25.139103" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:25 -0500 (0:00:00.358) 0:00:30.655 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:25 -0500 (0:00:00.027) 0:00:30.682 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 07 February 2025 15:29:25 -0500 (0:00:00.038) 0:00:30.721 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:29:25 -0500 (0:00:00.050) 0:00:30.771 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:29:25 -0500 (0:00:00.028) 0:00:30.800 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960164.6776836, "block_size": 4096, "blocks": 0, "ctime": 1738960164.6776836, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33181, "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": 1738960164.6776836, "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:29:25 -0500 (0:00:00.382) 0:00:31.182 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 07 February 2025 15:29:25 -0500 (0:00:00.021) 0:00:31.204 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:29:25 -0500 (0:00:00.046) 0:00:31.250 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:29:25 -0500 (0:00:00.016) 0:00:31.267 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:29:25 -0500 (0:00:00.027) 0:00:31.295 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:25 -0500 (0:00:00.036) 0:00:31.331 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:25 -0500 (0:00:00.030) 0:00:31.362 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003779", "end": "2025-02-07 15:29:26.231180", "rc": 0, "start": "2025-02-07 15:29:26.227401" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:26 -0500 (0:00:00.370) 0:00:31.733 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:26 -0500 (0:00:00.025) 0:00:31.758 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:29:26 -0500 (0:00:00.025) 0:00:31.784 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:29:29 -0500 (0:00:02.961) 0:00:34.746 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:29:29 -0500 (0:00:00.026) 0:00:34.773 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:29:29 -0500 (0:00:00.015) 0:00:34.788 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:29:29 -0500 (0:00:00.015) 0:00:34.804 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:29:29 -0500 (0:00:00.015) 0:00:34.819 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011396", "end": "2025-02-07 15:29:29.685176", "rc": 0, "start": "2025-02-07 15:29:29.673780" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:29:29 -0500 (0:00:00.373) 0:00:35.192 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:29:29 -0500 (0:00:00.022) 0:00:35.215 ******* 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 07 February 2025 15:29:29 -0500 (0:00:00.031) 0:00:35.246 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:29:29 -0500 (0:00:00.090) 0:00:35.337 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:29:29 -0500 (0:00:00.023) 0:00:35.360 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2025-02-07 15:29:30.261327", "rc": 0, "start": "2025-02-07 15:29:30.258145" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:29:30 -0500 (0:00:00.415) 0:00:35.776 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:29:30 -0500 (0:00:00.030) 0:00:35.806 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 07 February 2025 15:29:30 -0500 (0:00:00.028) 0:00:35.835 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:29:30 -0500 (0:00:00.057) 0:00:35.892 ******* included: /tmp/collections-vC4/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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:29:30 -0500 (0:00:00.029) 0:00:35.922 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:29:30 -0500 (0:00:00.382) 0:00:36.305 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Friday 07 February 2025 15:29:30 -0500 (0:00:00.024) 0:00:36.329 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.71s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.93s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 1.28s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.09s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.64s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.47s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Check if system is ostree ----------------------------------------------- 0.46s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Create EPEL 8 ----------------------------------------------------------- 0.45s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.43s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.42s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.41s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3