[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-goM 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-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Saturday 17 August 2024 08:43:47 -0400 (0:00:00.036) 0:00:00.036 ******* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Saturday 17 August 2024 08:43:48 -0400 (0:00:01.322) 0:00:01.358 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 17 August 2024 08:43:48 -0400 (0:00:00.035) 0:00:01.394 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.535) 0:00:01.930 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.486) 0:00:02.416 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.035) 0:00:02.452 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 17 August 2024 08:43:50 -0400 (0:00:00.029) 0:00:02.482 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 17 August 2024 08:43:50 -0400 (0:00:00.086) 0:00:02.568 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 17 August 2024 08:43:50 -0400 (0:00:00.522) 0:00:03.091 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 17 August 2024 08:43:50 -0400 (0:00:00.027) 0:00:03.118 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 17 August 2024 08:43:50 -0400 (0:00:00.028) 0:00:03.146 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.214861", "end": "2024-08-17 08:43:51.387219", "rc": 0, "start": "2024-08-17 08:43:51.172358" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.758) 0:00:03.905 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.016) 0:00:03.921 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.025) 0:00:03.947 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.031) 0:00:03.978 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.029) 0:00:04.008 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002959", "end": "2024-08-17 08:43:51.861371", "rc": 0, "start": "2024-08-17 08:43:51.858412" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.369) 0:00:04.377 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.018) 0:00:04.396 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.016) 0:00:04.413 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.029) 0:00:04.442 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.014) 0:00:04.456 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 17 August 2024 08:43:51 -0400 (0:00:00.013) 0:00:04.470 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:43:52 -0400 (0:00:00.021) 0:00:04.491 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:43:52 -0400 (0:00:00.023) 0:00:04.514 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002918", "end": "2024-08-17 08:43:52.367839", "rc": 0, "start": "2024-08-17 08:43:52.364921" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:43:52 -0400 (0:00:00.381) 0:00:04.896 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:43:52 -0400 (0:00:00.028) 0:00:04.924 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 17 August 2024 08:43:52 -0400 (0:00:00.041) 0:00:04.965 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 17 August 2024 08:43:56 -0400 (0:00:03.528) 0:00:08.494 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.086) 0:00:08.580 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.043) 0:00:08.624 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.035) 0:00:08.659 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.048) 0:00:08.708 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.042) 0:00:08.750 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.033) 0:00:08.783 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.037) 0:00:08.821 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.047) 0:00:08.868 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:43:56 -0400 (0:00:00.026) 0:00:08.895 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002934", "end": "2024-08-17 08:43:56.959951", "rc": 0, "start": "2024-08-17 08:43:56.957017" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.589) 0:00:09.484 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.027) 0:00:09.511 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.029) 0:00:09.541 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.046) 0:00:09.587 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.031) 0:00:09.619 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.616) 0:00:10.235 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.030) 0:00:10.265 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.055) 0:00:10.321 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.019) 0:00:10.340 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.018) 0:00:10.359 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.032) 0:00:10.391 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:43:57 -0400 (0:00:00.024) 0:00:10.416 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003041", "end": "2024-08-17 08:43:58.240273", "rc": 0, "start": "2024-08-17 08:43:58.237232" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:43:58 -0400 (0:00:00.343) 0:00:10.760 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:43:58 -0400 (0:00:00.026) 0:00:10.786 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 17 August 2024 08:43:58 -0400 (0:00:00.034) 0:00:10.820 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 17 August 2024 08:44:01 -0400 (0:00:02.938) 0:00:13.758 ******* 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.009991", "end": "2024-08-17 08:44:01.594136", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-17 08:44:01.584145" } 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.003963", "end": "2024-08-17 08:44:01.958415", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-17 08:44:01.954452" } 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.003916", "end": "2024-08-17 08:44:02.312063", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-17 08:44:02.308147" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 17 August 2024 08:44:02 -0400 (0:00:01.080) 0:00:14.839 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019493", "end": "2024-08-17 08:44:02.774739", "rc": 0, "start": "2024-08-17 08:44:02.755246" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 17 August 2024 08:44:02 -0400 (0:00:00.465) 0:00:15.304 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 17 August 2024 08:44:02 -0400 (0:00:00.024) 0:00:15.328 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 17 August 2024 08:44:02 -0400 (0:00:00.030) 0:00:15.359 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 17 August 2024 08:44:02 -0400 (0:00:00.023) 0:00:15.382 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 17 August 2024 08:44:02 -0400 (0:00:00.027) 0:00:15.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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 17 August 2024 08:44:02 -0400 (0:00:00.023) 0:00:15.434 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.055) 0:00:15.489 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.029) 0:00:15.519 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002860", "end": "2024-08-17 08:44:03.369857", "rc": 0, "start": "2024-08-17 08:44:03.366997" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.366) 0:00:15.886 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.018) 0:00:15.904 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.017) 0:00:15.921 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.033) 0:00:15.954 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.017) 0:00:15.972 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898641.5875175, "block_size": 4096, "blocks": 0, "ctime": 1723898641.5875175, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30873, "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": 1723898641.5875175, "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.386) 0:00:16.358 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.034) 0:00:16.393 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.051) 0:00:16.445 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 17 August 2024 08:44:03 -0400 (0:00:00.015) 0:00:16.460 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 17 August 2024 08:44:04 -0400 (0:00:00.021) 0:00:16.481 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:04 -0400 (0:00:00.023) 0:00:16.504 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:04 -0400 (0:00:00.029) 0:00:16.533 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002973", "end": "2024-08-17 08:44:04.405223", "rc": 0, "start": "2024-08-17 08:44:04.402250" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:04 -0400 (0:00:00.387) 0:00:16.921 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:04 -0400 (0:00:00.020) 0:00:16.942 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 17 August 2024 08:44:04 -0400 (0:00:00.026) 0:00:16.969 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 17 August 2024 08:44:07 -0400 (0:00:03.103) 0:00:20.072 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 17 August 2024 08:44:07 -0400 (0:00:00.053) 0:00:20.125 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 17 August 2024 08:44:07 -0400 (0:00:00.024) 0:00:20.149 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008724", "end": "2024-08-17 08:44:08.084746", "rc": 0, "start": "2024-08-17 08:44:08.076022" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.460) 0:00:20.610 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.019) 0:00:20.629 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.017) 0:00:20.647 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.014) 0:00:20.662 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.016) 0:00:20.679 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.040) 0:00:20.720 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.018) 0:00:20.738 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002827", "end": "2024-08-17 08:44:08.555834", "rc": 0, "start": "2024-08-17 08:44:08.553007" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.334) 0:00:21.073 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.018) 0:00:21.091 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.018) 0:00:21.109 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.040) 0:00:21.149 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:44:08 -0400 (0:00:00.019) 0:00:21.169 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.367) 0:00:21.536 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.018) 0:00:21.555 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.026) 0:00:21.582 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.021) 0:00:21.604 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.018) 0:00:21.623 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002857", "end": "2024-08-17 08:44:09.452794", "rc": 0, "start": "2024-08-17 08:44:09.449937" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.382) 0:00:22.005 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.036) 0:00:22.041 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.027) 0:00:22.069 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.033) 0:00:22.103 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.018) 0:00:22.122 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.019) 0:00:22.141 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.023) 0:00:22.164 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:09 -0400 (0:00:00.021) 0:00:22.186 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002974", "end": "2024-08-17 08:44:10.018445", "rc": 0, "start": "2024-08-17 08:44:10.015471" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:10 -0400 (0:00:00.353) 0:00:22.539 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:10 -0400 (0:00:00.028) 0:00:22.567 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 17 August 2024 08:44:10 -0400 (0:00:00.029) 0:00:22.597 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 17 August 2024 08:44:13 -0400 (0:00:02.990) 0:00:25.588 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.044) 0:00:25.632 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.029) 0:00:25.662 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.025) 0:00:25.688 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.026) 0:00:25.715 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.025) 0:00:25.741 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.037) 0:00:25.778 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.042) 0:00:25.821 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.076) 0:00:25.897 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.054) 0:00:25.952 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002899", "end": "2024-08-17 08:44:13.852713", "rc": 0, "start": "2024-08-17 08:44:13.849814" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.417) 0:00:26.369 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.020) 0:00:26.390 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 17 August 2024 08:44:13 -0400 (0:00:00.033) 0:00:26.423 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.049) 0:00:26.472 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.030) 0:00:26.502 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.344) 0:00:26.846 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.025) 0:00:26.872 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.060) 0:00:26.932 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.022) 0:00:26.954 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.024) 0:00:26.979 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.035) 0:00:27.014 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.031) 0:00:27.046 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003002", "end": "2024-08-17 08:44:14.911389", "rc": 0, "start": "2024-08-17 08:44:14.908387" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.387) 0:00:27.433 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:14 -0400 (0:00:00.034) 0:00:27.468 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 17 August 2024 08:44:15 -0400 (0:00:00.021) 0:00:27.490 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 17 August 2024 08:44:17 -0400 (0:00:02.850) 0:00:30.340 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 17 August 2024 08:44:17 -0400 (0:00:00.042) 0:00:30.383 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 17 August 2024 08:44:17 -0400 (0:00:00.031) 0:00:30.415 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 17 August 2024 08:44:17 -0400 (0:00:00.025) 0:00:30.441 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008380", "end": "2024-08-17 08:44:18.338854", "rc": 0, "start": "2024-08-17 08:44:18.330474" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 17 August 2024 08:44:18 -0400 (0:00:00.455) 0:00:30.896 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 17 August 2024 08:44:18 -0400 (0:00:00.070) 0:00:30.967 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 17 August 2024 08:44:18 -0400 (0:00:00.023) 0:00:30.990 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 17 August 2024 08:44:18 -0400 (0:00:00.024) 0:00:31.015 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:18 -0400 (0:00:00.058) 0:00:31.073 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:18 -0400 (0:00:00.030) 0:00:31.104 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002778", "end": "2024-08-17 08:44:19.009462", "rc": 0, "start": "2024-08-17 08:44:19.006684" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.467) 0:00:31.572 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.064) 0:00:31.637 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.033) 0:00:31.670 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.069) 0:00:31.740 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.031) 0:00:31.771 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898658.3382745, "block_size": 4096, "blocks": 0, "ctime": 1723898658.3382745, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31196, "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": 1723898658.3382745, "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.383) 0:00:32.155 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.028) 0:00:32.184 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.067) 0:00:32.251 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.022) 0:00:32.274 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.021) 0:00:32.295 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.037) 0:00:32.333 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:19 -0400 (0:00:00.058) 0:00:32.391 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002794", "end": "2024-08-17 08:44:20.245319", "rc": 0, "start": "2024-08-17 08:44:20.242525" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:20 -0400 (0:00:00.369) 0:00:32.761 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:20 -0400 (0:00:00.018) 0:00:32.780 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 17 August 2024 08:44:20 -0400 (0:00:00.018) 0:00:32.799 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 17 August 2024 08:44:23 -0400 (0:00:02.934) 0:00:35.733 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.044) 0:00:35.778 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.043) 0:00:35.821 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.024) 0:00:35.845 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.028) 0:00:35.874 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007110", "end": "2024-08-17 08:44:23.732651", "rc": 0, "start": "2024-08-17 08:44:23.725541" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.383) 0:00:36.258 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.025) 0:00:36.283 ******* 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.023) 0:00:36.307 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.070) 0:00:36.377 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:44:23 -0400 (0:00:00.031) 0:00:36.408 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002897", "end": "2024-08-17 08:44:24.239910", "rc": 0, "start": "2024-08-17 08:44:24.237013" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:44:24 -0400 (0:00:00.348) 0:00:36.756 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:44:24 -0400 (0:00:00.019) 0:00:36.776 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 17 August 2024 08:44:24 -0400 (0:00:00.017) 0:00:36.794 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:44:24 -0400 (0:00:00.049) 0:00:36.843 ******* included: /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:44:24 -0400 (0:00:00.028) 0:00:36.871 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:44:24 -0400 (0:00:00.349) 0:00:37.221 ******* 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 Saturday 17 August 2024 08:44:24 -0400 (0:00:00.044) 0:00:37.265 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.53s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.10s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.99s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.93s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.85s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.32s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.08s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.76s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Get stat for interface veth1298 ----------------------------------------- 0.62s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.59s /tmp/collections-goM/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.54s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Create EPEL 8 ----------------------------------------------------------- 0.52s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Check if system is ostree ----------------------------------------------- 0.49s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.47s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.47s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.46s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.46s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3