[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-m3g 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-m3g/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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Thursday 15 August 2024 19:51:09 -0400 (0:00:00.032) 0:00:00.032 ******* ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Thursday 15 August 2024 19:51:10 -0400 (0:00:01.111) 0:00:01.143 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 19:51:10 -0400 (0:00:00.031) 0:00:01.175 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 19:51:11 -0400 (0:00:00.581) 0:00:01.756 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 19:51:11 -0400 (0:00:00.434) 0:00:02.191 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 19:51:11 -0400 (0:00:00.029) 0:00:02.221 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 19:51:11 -0400 (0:00:00.013) 0:00:02.234 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 19:51:11 -0400 (0:00:00.044) 0:00:02.279 ******* ok: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Thursday 15 August 2024 19:51:12 -0400 (0:00:00.438) 0:00:02.717 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Thursday 15 August 2024 19:51:12 -0400 (0:00:00.024) 0:00:02.742 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Thursday 15 August 2024 19:51:12 -0400 (0:00:00.020) 0:00:02.762 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.227182", "end": "2024-08-15 19:51:13.938931", "rc": 0, "start": "2024-08-15 19:51:12.711749" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Thursday 15 August 2024 19:51:13 -0400 (0:00:01.595) 0:00:04.357 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Thursday 15 August 2024 19:51:13 -0400 (0:00:00.013) 0:00:04.371 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.021) 0:00:04.392 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.019) 0:00:04.412 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.023) 0:00:04.436 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003135", "end": "2024-08-15 19:51:14.491909", "rc": 0, "start": "2024-08-15 19:51:14.488774" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.477) 0:00:04.914 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.024) 0:00:04.938 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.027) 0:00:04.966 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.039) 0:00:05.006 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.019) 0:00:05.025 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.020) 0:00:05.045 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.027) 0:00:05.072 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:14 -0400 (0:00:00.025) 0:00:05.098 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003068", "end": "2024-08-15 19:51:15.041880", "rc": 0, "start": "2024-08-15 19:51:15.038812" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:15 -0400 (0:00:00.363) 0:00:05.462 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:15 -0400 (0:00:00.024) 0:00:05.486 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:51:15 -0400 (0:00:00.024) 0:00:05.510 ******* ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:51:18 -0400 (0:00:03.852) 0:00:09.363 ******* skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.033) 0:00:09.397 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.024) 0:00:09.421 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.020) 0:00:09.442 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.021) 0:00:09.464 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.019) 0:00:09.483 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.019) 0:00:09.503 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.018) 0:00:09.521 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.033) 0:00:09.555 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.024) 0:00:09.579 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003183", "end": "2024-08-15 19:51:19.526072", "rc": 0, "start": "2024-08-15 19:51:19.522889" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.366) 0:00:09.945 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.023) 0:00:09.969 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.015) 0:00:09.984 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.021) 0:00:10.005 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:51:19 -0400 (0:00:00.016) 0:00:10.022 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.351) 0:00:10.374 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.019) 0:00:10.394 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.030) 0:00:10.424 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.013) 0:00:10.437 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.017) 0:00:10.455 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.017) 0:00:10.473 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.023) 0:00:10.497 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003189", "end": "2024-08-15 19:51:20.428028", "rc": 0, "start": "2024-08-15 19:51:20.424839" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.348) 0:00:10.845 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.016) 0:00:10.862 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:51:20 -0400 (0:00:00.015) 0:00:10.877 ******* ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:51:23 -0400 (0:00:03.113) 0:00:13.990 ******* ok: [managed_node2] => (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.012352", "end": "2024-08-15 19:51:24.125940", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-15 19:51:24.113588" } ok: [managed_node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003680", "end": "2024-08-15 19:51:24.511220", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-15 19:51:24.507540" } ok: [managed_node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004030", "end": "2024-08-15 19:51:24.847236", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-15 19:51:24.843206" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:51:24 -0400 (0:00:01.276) 0:00:15.266 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020406", "end": "2024-08-15 19:51:25.311504", "rc": 0, "start": "2024-08-15 19:51:25.291098" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.463) 0:00:15.730 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.013) 0:00:15.743 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.016) 0:00:15.760 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.013) 0:00:15.773 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.012) 0:00:15.786 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.012) 0:00:15.798 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.028) 0:00:15.827 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.019) 0:00:15.847 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003050", "end": "2024-08-15 19:51:25.795455", "rc": 0, "start": "2024-08-15 19:51:25.792405" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.372) 0:00:16.220 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.024) 0:00:16.245 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.024) 0:00:16.269 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 15 August 2024 19:51:25 -0400 (0:00:00.052) 0:00:16.321 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.058) 0:00:16.380 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723765884.1170092, "block_size": 4096, "blocks": 0, "ctime": 1723765884.1170092, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31435, "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": 1723765884.1170092, "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.658) 0:00:17.039 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.026) 0:00:17.066 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.056) 0:00:17.122 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.020) 0:00:17.143 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.019) 0:00:17.162 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.029) 0:00:17.191 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:26 -0400 (0:00:00.026) 0:00:17.218 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003144", "end": "2024-08-15 19:51:27.147979", "rc": 0, "start": "2024-08-15 19:51:27.144835" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:27 -0400 (0:00:00.347) 0:00:17.565 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:27 -0400 (0:00:00.016) 0:00:17.582 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:51:27 -0400 (0:00:00.015) 0:00:17.598 ******* ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:51:30 -0400 (0:00:02.964) 0:00:20.562 ******* skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.035) 0:00:20.598 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.023) 0:00:20.621 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.007057", "end": "2024-08-15 19:51:30.578409", "rc": 0, "start": "2024-08-15 19:51:30.571352" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.402) 0:00:21.023 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.017) 0:00:21.040 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.020) 0:00:21.061 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.014) 0:00:21.075 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.014) 0:00:21.090 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.049) 0:00:21.140 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:30 -0400 (0:00:00.018) 0:00:21.159 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003091", "end": "2024-08-15 19:51:31.071769", "rc": 0, "start": "2024-08-15 19:51:31.068678" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.340) 0:00:21.500 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.024) 0:00:21.524 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.030) 0:00:21.555 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.055) 0:00:21.610 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.026) 0:00:21.636 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.367) 0:00:22.004 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.021) 0:00:22.026 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.027) 0:00:22.053 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.029) 0:00:22.082 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:31 -0400 (0:00:00.028) 0:00:22.111 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003107", "end": "2024-08-15 19:51:32.048720", "rc": 0, "start": "2024-08-15 19:51:32.045613" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.363) 0:00:22.475 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.028) 0:00:22.503 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.024) 0:00:22.528 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.038) 0:00:22.566 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.020) 0:00:22.587 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.020) 0:00:22.607 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.028) 0:00:22.636 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.026) 0:00:22.662 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003081", "end": "2024-08-15 19:51:32.586248", "rc": 0, "start": "2024-08-15 19:51:32.583167" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.341) 0:00:23.004 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.021) 0:00:23.026 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:51:32 -0400 (0:00:00.024) 0:00:23.051 ******* ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:51:35 -0400 (0:00:02.978) 0:00:26.030 ******* skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.030) 0:00:26.060 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.017) 0:00:26.077 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.015) 0:00:26.092 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.020) 0:00:26.112 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.014) 0:00:26.127 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.015) 0:00:26.143 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.018) 0:00:26.161 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.021) 0:00:26.183 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:35 -0400 (0:00:00.018) 0:00:26.201 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003097", "end": "2024-08-15 19:51:36.109337", "rc": 0, "start": "2024-08-15 19:51:36.106240" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.327) 0:00:26.529 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.017) 0:00:26.546 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.017) 0:00:26.563 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.029) 0:00:26.593 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.026) 0:00:26.619 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.423) 0:00:27.042 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.027) 0:00:27.070 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.058) 0:00:27.128 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.037) 0:00:27.166 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.040) 0:00:27.207 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.051) 0:00:27.258 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:36 -0400 (0:00:00.047) 0:00:27.306 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003104", "end": "2024-08-15 19:51:37.304781", "rc": 0, "start": "2024-08-15 19:51:37.301677" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:37 -0400 (0:00:00.422) 0:00:27.729 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:37 -0400 (0:00:00.024) 0:00:27.753 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:51:37 -0400 (0:00:00.034) 0:00:27.787 ******* ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:51:40 -0400 (0:00:02.910) 0:00:30.698 ******* skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.026) 0:00:30.724 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.014) 0:00:30.738 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.014) 0:00:30.753 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009450", "end": "2024-08-15 19:51:40.674155", "rc": 0, "start": "2024-08-15 19:51:40.664705" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.348) 0:00:31.101 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.014) 0:00:31.116 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.013) 0:00:31.129 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.012) 0:00:31.142 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.029) 0:00:31.172 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:40 -0400 (0:00:00.020) 0:00:31.192 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003176", "end": "2024-08-15 19:51:41.134391", "rc": 0, "start": "2024-08-15 19:51:41.131215" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.370) 0:00:31.563 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.025) 0:00:31.588 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.023) 0:00:31.612 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.048) 0:00:31.660 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.027) 0:00:31.688 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723765900.6735554, "block_size": 4096, "blocks": 0, "ctime": 1723765900.6735554, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31758, "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": 1723765900.6735554, "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.370) 0:00:32.058 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.017) 0:00:32.076 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.037) 0:00:32.113 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.019) 0:00:32.133 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.019) 0:00:32.152 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.033) 0:00:32.186 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:41 -0400 (0:00:00.061) 0:00:32.248 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003075", "end": "2024-08-15 19:51:42.184647", "rc": 0, "start": "2024-08-15 19:51:42.181572" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:42 -0400 (0:00:00.354) 0:00:32.603 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:42 -0400 (0:00:00.017) 0:00:32.620 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:51:42 -0400 (0:00:00.016) 0:00:32.637 ******* ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:51:45 -0400 (0:00:03.050) 0:00:35.688 ******* skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.036) 0:00:35.725 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.021) 0:00:35.746 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.020) 0:00:35.767 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.023) 0:00:35.791 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009011", "end": "2024-08-15 19:51:45.734208", "rc": 0, "start": "2024-08-15 19:51:45.725197" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.366) 0:00:36.157 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.018) 0:00:36.175 ******* skipping: [managed_node2] => { "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-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.014) 0:00:36.190 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.051) 0:00:36.241 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:51:45 -0400 (0:00:00.029) 0:00:36.270 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003058", "end": "2024-08-15 19:51:46.223888", "rc": 0, "start": "2024-08-15 19:51:46.220830" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:51:46 -0400 (0:00:00.372) 0:00:36.642 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:51:46 -0400 (0:00:00.021) 0:00:36.664 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 15 August 2024 19:51:46 -0400 (0:00:00.017) 0:00:36.681 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 19:51:46 -0400 (0:00:00.034) 0:00:36.716 ******* included: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:51:46 -0400 (0:00:00.017) 0:00:36.733 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 19:51:46 -0400 (0:00:00.329) 0:00:37.062 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node2 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Thursday 15 August 2024 19:51:46 -0400 (0:00:00.029) 0:00:37.092 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.85s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.11s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.05s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.91s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Enable EPEL 8 ----------------------------------------------------------- 1.60s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Create veth interface veth1298 ------------------------------------------ 1.28s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.66s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.58s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.48s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.46s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Create EPEL 8 ----------------------------------------------------------- 0.44s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Check if system is ostree ----------------------------------------------- 0.43s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Get stat for interface dummy1298 ---------------------------------------- 0.42s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.40s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.37s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.37s /tmp/collections-m3g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3