[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] 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-d1Z 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-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Friday 09 August 2024 03:52:29 -0400 (0:00:00.025) 0:00:00.025 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Friday 09 August 2024 03:52:30 -0400 (0:00:01.057) 0:00:01.082 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 09 August 2024 03:52:30 -0400 (0:00:00.018) 0:00:01.101 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 09 August 2024 03:52:30 -0400 (0:00:00.489) 0:00:01.591 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 09 August 2024 03:52:31 -0400 (0:00:00.414) 0:00:02.005 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 09 August 2024 03:52:31 -0400 (0:00:00.020) 0:00:02.025 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 09 August 2024 03:52:31 -0400 (0:00:00.012) 0:00:02.038 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 09 August 2024 03:52:31 -0400 (0:00:00.038) 0:00:02.076 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Friday 09 August 2024 03:52:31 -0400 (0:00:00.409) 0:00:02.486 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Friday 09 August 2024 03:52:31 -0400 (0:00:00.013) 0:00:02.500 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Friday 09 August 2024 03:52:31 -0400 (0:00:00.012) 0:00:02.513 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.236004", "end": "2024-08-09 03:52:32.250147", "rc": 0, "start": "2024-08-09 03:52:32.014143" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Friday 09 August 2024 03:52:32 -0400 (0:00:00.561) 0:00:03.074 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Friday 09 August 2024 03:52:32 -0400 (0:00:00.013) 0:00:03.087 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 09 August 2024 03:52:32 -0400 (0:00:00.019) 0:00:03.107 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:32 -0400 (0:00:00.017) 0:00:03.125 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:32 -0400 (0:00:00.015) 0:00:03.141 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003290", "end": "2024-08-09 03:52:32.643648", "rc": 0, "start": "2024-08-09 03:52:32.640358" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:32 -0400 (0:00:00.326) 0:00:03.467 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:32 -0400 (0:00:00.016) 0:00:03.483 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 09 August 2024 03:52:32 -0400 (0:00:00.015) 0:00:03.498 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:52:32 -0400 (0:00:00.024) 0:00:03.523 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:52:32 -0400 (0:00:00.012) 0:00:03.536 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:52:32 -0400 (0:00:00.012) 0:00:03.549 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:32 -0400 (0:00:00.017) 0:00:03.567 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:32 -0400 (0:00:00.016) 0:00:03.583 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003220", "end": "2024-08-09 03:52:33.086272", "rc": 0, "start": "2024-08-09 03:52:33.083052" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:33 -0400 (0:00:00.326) 0:00:03.909 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:33 -0400 (0:00:00.016) 0:00:03.926 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:52:33 -0400 (0:00:00.015) 0:00:03.941 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:52:36 -0400 (0:00:03.310) 0:00:07.252 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:52:36 -0400 (0:00:00.022) 0:00:07.275 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:52:36 -0400 (0:00:00.013) 0:00:07.288 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:52:36 -0400 (0:00:00.013) 0:00:07.302 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:52:36 -0400 (0:00:00.013) 0:00:07.316 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:52:36 -0400 (0:00:00.014) 0:00:07.330 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:52:36 -0400 (0:00:00.013) 0:00:07.343 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 09 August 2024 03:52:36 -0400 (0:00:00.012) 0:00:07.356 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:36 -0400 (0:00:00.020) 0:00:07.377 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:36 -0400 (0:00:00.016) 0:00:07.393 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003093", "end": "2024-08-09 03:52:36.902532", "rc": 0, "start": "2024-08-09 03:52:36.899439" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:36 -0400 (0:00:00.333) 0:00:07.726 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:36 -0400 (0:00:00.015) 0:00:07.742 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 09 August 2024 03:52:36 -0400 (0:00:00.015) 0:00:07.757 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:52:37 -0400 (0:00:00.023) 0:00:07.781 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:52:37 -0400 (0:00:00.016) 0:00:07.798 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:52:37 -0400 (0:00:00.325) 0:00:08.123 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 09 August 2024 03:52:37 -0400 (0:00:00.017) 0:00:08.140 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:52:37 -0400 (0:00:00.027) 0:00:08.168 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:52:37 -0400 (0:00:00.012) 0:00:08.180 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:52:37 -0400 (0:00:00.012) 0:00:08.193 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:37 -0400 (0:00:00.017) 0:00:08.210 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:37 -0400 (0:00:00.015) 0:00:08.226 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003170", "end": "2024-08-09 03:52:37.729741", "rc": 0, "start": "2024-08-09 03:52:37.726571" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:37 -0400 (0:00:00.327) 0:00:08.553 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:37 -0400 (0:00:00.016) 0:00:08.570 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:52:37 -0400 (0:00:00.014) 0:00:08.584 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:52:40 -0400 (0:00:02.918) 0:00:11.502 ********* 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.011966", "end": "2024-08-09 03:52:41.020948", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-09 03:52:41.008982" } 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.003698", "end": "2024-08-09 03:52:41.375807", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-09 03:52:41.372109" } 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.004020", "end": "2024-08-09 03:52:41.692718", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-09 03:52:41.688698" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:52:41 -0400 (0:00:01.015) 0:00:12.518 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020942", "end": "2024-08-09 03:52:42.037781", "rc": 0, "start": "2024-08-09 03:52:42.016839" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:52:42 -0400 (0:00:00.344) 0:00:12.862 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:52:42 -0400 (0:00:00.015) 0:00:12.877 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:52:42 -0400 (0:00:00.012) 0:00:12.890 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:52:42 -0400 (0:00:00.012) 0:00:12.903 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:52:42 -0400 (0:00:00.012) 0:00:12.916 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 09 August 2024 03:52:42 -0400 (0:00:00.012) 0:00:12.928 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:42 -0400 (0:00:00.024) 0:00:12.953 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:42 -0400 (0:00:00.014) 0:00:12.968 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003212", "end": "2024-08-09 03:52:42.467368", "rc": 0, "start": "2024-08-09 03:52:42.464156" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:42 -0400 (0:00:00.323) 0:00:13.291 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:42 -0400 (0:00:00.015) 0:00:13.307 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 09 August 2024 03:52:42 -0400 (0:00:00.014) 0:00:13.321 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 09 August 2024 03:52:42 -0400 (0:00:00.025) 0:00:13.346 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:52:42 -0400 (0:00:00.014) 0:00:13.360 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723189961.0125053, "block_size": 4096, "blocks": 0, "ctime": 1723189961.0125053, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 52028, "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": 1723189961.0125053, "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 09 August 2024 03:52:42 -0400 (0:00:00.324) 0:00:13.685 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 09 August 2024 03:52:42 -0400 (0:00:00.016) 0:00:13.701 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:52:42 -0400 (0:00:00.032) 0:00:13.734 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:52:42 -0400 (0:00:00.012) 0:00:13.747 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:52:42 -0400 (0:00:00.012) 0:00:13.760 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:42 -0400 (0:00:00.017) 0:00:13.778 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:43 -0400 (0:00:00.015) 0:00:13.793 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003211", "end": "2024-08-09 03:52:43.297125", "rc": 0, "start": "2024-08-09 03:52:43.293914" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:43 -0400 (0:00:00.327) 0:00:14.121 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:43 -0400 (0:00:00.016) 0:00:14.137 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:52:43 -0400 (0:00:00.014) 0:00:14.151 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:52:46 -0400 (0:00:02.921) 0:00:17.073 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:52:46 -0400 (0:00:00.022) 0:00:17.096 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:52:46 -0400 (0:00:00.013) 0:00:17.109 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009742", "end": "2024-08-09 03:52:46.618619", "rc": 0, "start": "2024-08-09 03:52:46.608877" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:52:46 -0400 (0:00:00.335) 0:00:17.445 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:52:46 -0400 (0:00:00.013) 0:00:17.459 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:52:46 -0400 (0:00:00.013) 0:00:17.472 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:52:46 -0400 (0:00:00.012) 0:00:17.485 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 09 August 2024 03:52:46 -0400 (0:00:00.012) 0:00:17.497 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:46 -0400 (0:00:00.031) 0:00:17.528 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:46 -0400 (0:00:00.014) 0:00:17.543 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003167", "end": "2024-08-09 03:52:47.044392", "rc": 0, "start": "2024-08-09 03:52:47.041225" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:47 -0400 (0:00:00.325) 0:00:17.868 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:47 -0400 (0:00:00.016) 0:00:17.885 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 09 August 2024 03:52:47 -0400 (0:00:00.016) 0:00:17.901 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.030) 0:00:17.932 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.015) 0:00:17.947 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:52:47 -0400 (0:00:00.322) 0:00:18.270 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Friday 09 August 2024 03:52:47 -0400 (0:00:00.016) 0:00:18.287 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.020) 0:00:18.308 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.018) 0:00:18.326 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.016) 0:00:18.342 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003302", "end": "2024-08-09 03:52:47.844511", "rc": 0, "start": "2024-08-09 03:52:47.841209" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:47 -0400 (0:00:00.325) 0:00:18.668 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:47 -0400 (0:00:00.015) 0:00:18.684 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 09 August 2024 03:52:47 -0400 (0:00:00.015) 0:00:18.700 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.021) 0:00:18.722 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:52:47 -0400 (0:00:00.011) 0:00:18.733 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:52:47 -0400 (0:00:00.011) 0:00:18.745 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.016) 0:00:18.761 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:47 -0400 (0:00:00.014) 0:00:18.776 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-08-09 03:52:48.276016", "rc": 0, "start": "2024-08-09 03:52:48.272798" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:48 -0400 (0:00:00.323) 0:00:19.100 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:48 -0400 (0:00:00.016) 0:00:19.116 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:52:48 -0400 (0:00:00.016) 0:00:19.132 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:52:51 -0400 (0:00:02.983) 0:00:22.116 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:52:51 -0400 (0:00:00.022) 0:00:22.139 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:52:51 -0400 (0:00:00.014) 0:00:22.154 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:52:51 -0400 (0:00:00.013) 0:00:22.167 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:52:51 -0400 (0:00:00.013) 0:00:22.180 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:52:51 -0400 (0:00:00.013) 0:00:22.193 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:52:51 -0400 (0:00:00.013) 0:00:22.206 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 09 August 2024 03:52:51 -0400 (0:00:00.011) 0:00:22.218 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:51 -0400 (0:00:00.019) 0:00:22.238 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:51 -0400 (0:00:00.014) 0:00:22.253 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003197", "end": "2024-08-09 03:52:51.749876", "rc": 0, "start": "2024-08-09 03:52:51.746679" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:51 -0400 (0:00:00.320) 0:00:22.573 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:51 -0400 (0:00:00.016) 0:00:22.589 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 09 August 2024 03:52:51 -0400 (0:00:00.014) 0:00:22.603 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:52:51 -0400 (0:00:00.020) 0:00:22.624 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:52:51 -0400 (0:00:00.014) 0:00:22.638 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:52:52 -0400 (0:00:00.320) 0:00:22.959 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 09 August 2024 03:52:52 -0400 (0:00:00.015) 0:00:22.975 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:52:52 -0400 (0:00:00.027) 0:00:23.003 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:52:52 -0400 (0:00:00.011) 0:00:23.015 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:52:52 -0400 (0:00:00.011) 0:00:23.026 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:52 -0400 (0:00:00.017) 0:00:23.043 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:52 -0400 (0:00:00.015) 0:00:23.058 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003225", "end": "2024-08-09 03:52:52.557684", "rc": 0, "start": "2024-08-09 03:52:52.554459" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:52 -0400 (0:00:00.322) 0:00:23.381 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:52 -0400 (0:00:00.017) 0:00:23.398 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:52:52 -0400 (0:00:00.015) 0:00:23.414 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:52:55 -0400 (0:00:02.900) 0:00:26.315 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:52:55 -0400 (0:00:00.024) 0:00:26.339 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:52:55 -0400 (0:00:00.014) 0:00:26.354 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:52:55 -0400 (0:00:00.014) 0:00:26.369 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.004231", "end": "2024-08-09 03:52:55.879213", "rc": 0, "start": "2024-08-09 03:52:55.874982" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:52:55 -0400 (0:00:00.343) 0:00:26.713 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:52:55 -0400 (0:00:00.014) 0:00:26.728 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:52:55 -0400 (0:00:00.014) 0:00:26.742 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 09 August 2024 03:52:55 -0400 (0:00:00.014) 0:00:26.756 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:56 -0400 (0:00:00.028) 0:00:26.784 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:56 -0400 (0:00:00.017) 0:00:26.801 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003230", "end": "2024-08-09 03:52:56.308320", "rc": 0, "start": "2024-08-09 03:52:56.305090" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:56 -0400 (0:00:00.330) 0:00:27.132 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:56 -0400 (0:00:00.017) 0:00:27.150 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 09 August 2024 03:52:56 -0400 (0:00:00.016) 0:00:27.166 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 09 August 2024 03:52:56 -0400 (0:00:00.026) 0:00:27.193 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:52:56 -0400 (0:00:00.016) 0:00:27.210 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723189975.8781583, "block_size": 4096, "blocks": 0, "ctime": 1723189975.8781583, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 52321, "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": 1723189975.8781583, "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 09 August 2024 03:52:56 -0400 (0:00:00.327) 0:00:27.538 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 09 August 2024 03:52:56 -0400 (0:00:00.016) 0:00:27.554 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:52:56 -0400 (0:00:00.032) 0:00:27.586 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:52:56 -0400 (0:00:00.012) 0:00:27.598 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:52:56 -0400 (0:00:00.011) 0:00:27.610 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:52:56 -0400 (0:00:00.019) 0:00:27.629 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:52:56 -0400 (0:00:00.037) 0:00:27.667 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2024-08-09 03:52:57.167974", "rc": 0, "start": "2024-08-09 03:52:57.164731" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:52:57 -0400 (0:00:00.325) 0:00:27.992 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:52:57 -0400 (0:00:00.016) 0:00:28.009 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:52:57 -0400 (0:00:00.016) 0:00:28.026 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:53:00 -0400 (0:00:03.091) 0:00:31.117 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:53:00 -0400 (0:00:00.023) 0:00:31.141 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:53:00 -0400 (0:00:00.013) 0:00:31.155 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:53:00 -0400 (0:00:00.014) 0:00:31.169 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:53:00 -0400 (0:00:00.014) 0:00:31.183 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009989", "end": "2024-08-09 03:53:00.697570", "rc": 0, "start": "2024-08-09 03:53:00.687581" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:53:00 -0400 (0:00:00.338) 0:00:31.522 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:53:00 -0400 (0:00:00.014) 0:00:31.537 ********* 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 09 August 2024 03:53:00 -0400 (0:00:00.013) 0:00:31.550 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:53:00 -0400 (0:00:00.031) 0:00:31.582 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:53:00 -0400 (0:00:00.017) 0:00:31.600 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003260", "end": "2024-08-09 03:53:01.106383", "rc": 0, "start": "2024-08-09 03:53:01.103123" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:53:01 -0400 (0:00:00.330) 0:00:31.930 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:53:01 -0400 (0:00:00.017) 0:00:31.948 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 09 August 2024 03:53:01 -0400 (0:00:00.016) 0:00:31.965 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:53:01 -0400 (0:00:00.033) 0:00:31.999 ********* included: /tmp/collections-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:53:01 -0400 (0:00:00.017) 0:00:32.016 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:53:01 -0400 (0:00:00.325) 0:00:32.341 ********* 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 Friday 09 August 2024 03:53:01 -0400 (0:00:00.025) 0:00:32.367 ********* =============================================================================== Install iproute --------------------------------------------------------- 3.31s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.09s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.90s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.06s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.02s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.56s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Gather the minimum subset of ansible_facts required by the network role test --- 0.49s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.41s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Create EPEL 8 ----------------------------------------------------------- 0.41s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Set up veth as managed by NetworkManager -------------------------------- 0.34s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.34s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.34s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Delete veth interface veth1298 ------------------------------------------ 0.34s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.33s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.33s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3