ansible-playbook [core 2.16.12] 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-RGZ 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-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Wednesday 23 October 2024 17:08:25 -0400 (0:00:00.049) 0:00:00.049 ***** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Wednesday 23 October 2024 17:08:26 -0400 (0:00:01.243) 0:00:01.292 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 23 October 2024 17:08:26 -0400 (0:00:00.022) 0:00:01.314 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 23 October 2024 17:08:27 -0400 (0:00:00.518) 0:00:01.833 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 23 October 2024 17:08:27 -0400 (0:00:00.552) 0:00:02.385 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 23 October 2024 17:08:27 -0400 (0:00:00.061) 0:00:02.446 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 23 October 2024 17:08:28 -0400 (0:00:00.073) 0:00:02.520 ***** included: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 23 October 2024 17:08:28 -0400 (0:00:00.071) 0:00:02.592 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 23 October 2024 17:08:28 -0400 (0:00:00.536) 0:00:03.128 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 23 October 2024 17:08:28 -0400 (0:00:00.024) 0:00:03.153 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 23 October 2024 17:08:28 -0400 (0:00:00.023) 0:00:03.177 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.247351", "end": "2024-10-23 17:08:30.258925", "rc": 0, "start": "2024-10-23 17:08:29.011574" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 23 October 2024 17:08:30 -0400 (0:00:01.596) 0:00:04.773 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.021) 0:00:04.795 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.031) 0:00:04.826 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.028) 0:00:04.854 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.025) 0:00:04.880 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003385", "end": "2024-10-23 17:08:30.732679", "rc": 0, "start": "2024-10-23 17:08:30.729294" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.362) 0:00:05.242 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.018) 0:00:05.261 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.016) 0:00:05.278 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.030) 0:00:05.309 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.014) 0:00:05.323 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.013) 0:00:05.336 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.019) 0:00:05.356 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:30 -0400 (0:00:00.019) 0:00:05.376 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002709", "end": "2024-10-23 17:08:31.364930", "rc": 0, "start": "2024-10-23 17:08:31.362221" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:31 -0400 (0:00:00.504) 0:00:05.880 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:31 -0400 (0:00:00.025) 0:00:05.905 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:08:31 -0400 (0:00:00.024) 0:00:05.930 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:08:34 -0400 (0:00:03.382) 0:00:09.312 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.024) 0:00:09.337 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.015) 0:00:09.352 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.014) 0:00:09.367 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.014) 0:00:09.382 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.014) 0:00:09.396 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.014) 0:00:09.410 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.012) 0:00:09.423 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:34 -0400 (0:00:00.026) 0:00:09.450 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:35 -0400 (0:00:00.016) 0:00:09.467 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002788", "end": "2024-10-23 17:08:35.313217", "rc": 0, "start": "2024-10-23 17:08:35.310429" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:35 -0400 (0:00:00.417) 0:00:09.884 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:35 -0400 (0:00:00.053) 0:00:09.938 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 23 October 2024 17:08:35 -0400 (0:00:00.050) 0:00:09.988 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 17:08:35 -0400 (0:00:00.058) 0:00:10.046 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:08:35 -0400 (0:00:00.039) 0:00:10.086 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.518) 0:00:10.604 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.027) 0:00:10.631 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.048) 0:00:10.680 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.020) 0:00:10.700 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.020) 0:00:10.720 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.031) 0:00:10.752 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.027) 0:00:10.779 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002738", "end": "2024-10-23 17:08:36.638956", "rc": 0, "start": "2024-10-23 17:08:36.636218" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.374) 0:00:11.153 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.019) 0:00:11.173 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:08:36 -0400 (0:00:00.020) 0:00:11.193 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:08:39 -0400 (0:00:02.900) 0:00:14.094 ***** 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.012206", "end": "2024-10-23 17:08:40.183983", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-23 17:08:40.171777" } 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.003396", "end": "2024-10-23 17:08:40.567328", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-23 17:08:40.563932" } 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.003469", "end": "2024-10-23 17:08:40.893618", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-23 17:08:40.890149" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:08:40 -0400 (0:00:01.311) 0:00:15.405 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021657", "end": "2024-10-23 17:08:41.279339", "rc": 0, "start": "2024-10-23 17:08:41.257682" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.386) 0:00:15.792 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.016) 0:00:15.809 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.017) 0:00:15.826 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.016) 0:00:15.842 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.019) 0:00:15.862 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.021) 0:00:15.883 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.046) 0:00:15.930 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.027) 0:00:15.957 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002872", "end": "2024-10-23 17:08:41.823323", "rc": 0, "start": "2024-10-23 17:08:41.820451" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.374) 0:00:16.332 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.021) 0:00:16.354 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.017) 0:00:16.371 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.031) 0:00:16.403 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:08:41 -0400 (0:00:00.018) 0:00:16.421 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729717720.1754324, "block_size": 4096, "blocks": 0, "ctime": 1729717720.1754324, "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": 1729717720.1754324, "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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.366) 0:00:16.788 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.027) 0:00:16.816 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.039) 0:00:16.855 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.019) 0:00:16.875 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.021) 0:00:16.897 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.032) 0:00:16.929 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.028) 0:00:16.958 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-10-23 17:08:42.793258", "rc": 0, "start": "2024-10-23 17:08:42.790113" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.350) 0:00:17.308 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.031) 0:00:17.340 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:08:42 -0400 (0:00:00.025) 0:00:17.366 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:08:45 -0400 (0:00:02.942) 0:00:20.308 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:08:45 -0400 (0:00:00.061) 0:00:20.370 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:08:45 -0400 (0:00:00.022) 0:00:20.392 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.012552", "end": "2024-10-23 17:08:46.285857", "rc": 0, "start": "2024-10-23 17:08:46.273305" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.413) 0:00:20.806 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.021) 0:00:20.828 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.025) 0:00:20.853 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.021) 0:00:20.875 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.015) 0:00:20.890 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.041) 0:00:20.931 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.027) 0:00:20.958 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003001", "end": "2024-10-23 17:08:46.809639", "rc": 0, "start": "2024-10-23 17:08:46.806638" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.362) 0:00:21.321 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.026) 0:00:21.347 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.018) 0:00:21.366 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.040) 0:00:21.406 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:08:46 -0400 (0:00:00.018) 0:00:21.425 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.340) 0:00:21.766 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.024) 0:00:21.791 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.030) 0:00:21.821 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.027) 0:00:21.849 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.026) 0:00:21.876 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002970", "end": "2024-10-23 17:08:47.842873", "rc": 0, "start": "2024-10-23 17:08:47.839903" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.482) 0:00:22.359 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.027) 0:00:22.386 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.028) 0:00:22.415 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:08:47 -0400 (0:00:00.037) 0:00:22.452 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:08:48 -0400 (0:00:00.020) 0:00:22.473 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:08:48 -0400 (0:00:00.024) 0:00:22.497 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:48 -0400 (0:00:00.033) 0:00:22.531 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:48 -0400 (0:00:00.029) 0:00:22.561 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002679", "end": "2024-10-23 17:08:48.505570", "rc": 0, "start": "2024-10-23 17:08:48.502891" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:48 -0400 (0:00:00.457) 0:00:23.019 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:48 -0400 (0:00:00.020) 0:00:23.039 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:08:48 -0400 (0:00:00.025) 0:00:23.065 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:08:51 -0400 (0:00:02.898) 0:00:25.964 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.027) 0:00:25.991 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.019) 0:00:26.011 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.015) 0:00:26.026 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.020) 0:00:26.047 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.014) 0:00:26.062 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.016) 0:00:26.078 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.014) 0:00:26.092 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.025) 0:00:26.118 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:51 -0400 (0:00:00.021) 0:00:26.139 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002744", "end": "2024-10-23 17:08:51.979351", "rc": 0, "start": "2024-10-23 17:08:51.976607" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.357) 0:00:26.496 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.031) 0:00:26.528 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.019) 0:00:26.548 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.042) 0:00:26.591 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.021) 0:00:26.612 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.335) 0:00:26.948 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.028) 0:00:26.976 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.048) 0:00:27.025 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.022) 0:00:27.047 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.020) 0:00:27.068 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.032) 0:00:27.100 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:52 -0400 (0:00:00.025) 0:00:27.126 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002944", "end": "2024-10-23 17:08:52.979868", "rc": 0, "start": "2024-10-23 17:08:52.976924" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:53 -0400 (0:00:00.362) 0:00:27.488 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:53 -0400 (0:00:00.021) 0:00:27.510 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:08:53 -0400 (0:00:00.018) 0:00:27.528 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:08:55 -0400 (0:00:02.898) 0:00:30.427 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:08:55 -0400 (0:00:00.033) 0:00:30.460 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.021) 0:00:30.481 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.026) 0:00:30.508 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009388", "end": "2024-10-23 17:08:56.363705", "rc": 0, "start": "2024-10-23 17:08:56.354317" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.384) 0:00:30.892 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.026) 0:00:30.919 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.022) 0:00:30.941 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.023) 0:00:30.964 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.049) 0:00:31.013 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:56 -0400 (0:00:00.027) 0:00:31.041 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003507", "end": "2024-10-23 17:08:57.028987", "rc": 0, "start": "2024-10-23 17:08:57.025480" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.520) 0:00:31.561 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.031) 0:00:31.593 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.025) 0:00:31.618 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.057) 0:00:31.676 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.046) 0:00:31.722 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729717736.362243, "block_size": 4096, "blocks": 0, "ctime": 1729717736.362243, "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": 1729717736.362243, "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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.413) 0:00:32.136 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.020) 0:00:32.156 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.041) 0:00:32.197 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.015) 0:00:32.213 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.014) 0:00:32.227 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.021) 0:00:32.248 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:08:57 -0400 (0:00:00.018) 0:00:32.267 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003109", "end": "2024-10-23 17:08:58.110677", "rc": 0, "start": "2024-10-23 17:08:58.107568" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:08:58 -0400 (0:00:00.360) 0:00:32.628 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:08:58 -0400 (0:00:00.020) 0:00:32.649 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:08:58 -0400 (0:00:00.020) 0:00:32.669 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:09:01 -0400 (0:00:02.913) 0:00:35.582 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.045) 0:00:35.628 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.030) 0:00:35.658 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.024) 0:00:35.682 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.024) 0:00:35.707 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010575", "end": "2024-10-23 17:09:01.579537", "rc": 0, "start": "2024-10-23 17:09:01.568962" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.408) 0:00:36.116 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.026) 0:00:36.142 ***** 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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.057) 0:00:36.200 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.041) 0:00:36.242 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:09:01 -0400 (0:00:00.033) 0:00:36.275 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003661", "end": "2024-10-23 17:09:02.196578", "rc": 0, "start": "2024-10-23 17:09:02.192917" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:09:02 -0400 (0:00:00.432) 0:00:36.707 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:09:02 -0400 (0:00:00.018) 0:00:36.726 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 23 October 2024 17:09:02 -0400 (0:00:00.018) 0:00:36.744 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 17:09:02 -0400 (0:00:00.037) 0:00:36.781 ***** included: /tmp/collections-RGZ/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-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:09:02 -0400 (0:00:00.019) 0:00:36.801 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 17:09:02 -0400 (0:00:00.341) 0:00:37.142 ***** 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 Wednesday 23 October 2024 17:09:02 -0400 (0:00:00.043) 0:00:37.185 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.38s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.91s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.90s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.90s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.90s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Enable EPEL 8 ----------------------------------------------------------- 1.60s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Create veth interface veth1298 ------------------------------------------ 1.31s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.24s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Check if system is ostree ----------------------------------------------- 0.55s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Create EPEL 8 ----------------------------------------------------------- 0.54s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Gather current interface info ------------------------------------------- 0.52s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.52s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.52s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.50s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.48s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.46s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.43s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-RGZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3