[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-v2g 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-v2g/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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Tuesday 20 August 2024 10:04:20 -0400 (0:00:00.036) 0:00:00.036 ******** ok: [managed_node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Tuesday 20 August 2024 10:04:21 -0400 (0:00:01.247) 0:00:01.283 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 20 August 2024 10:04:21 -0400 (0:00:00.019) 0:00:01.303 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 20 August 2024 10:04:21 -0400 (0:00:00.032) 0:00:01.336 ******** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 20 August 2024 10:04:22 -0400 (0:00:00.491) 0:00:01.827 ******** ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 20 August 2024 10:04:22 -0400 (0:00:00.021) 0:00:01.848 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 20 August 2024 10:04:22 -0400 (0:00:00.013) 0:00:01.861 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 20 August 2024 10:04:22 -0400 (0:00:00.041) 0:00:01.903 ******** ok: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 20 August 2024 10:04:22 -0400 (0:00:00.501) 0:00:02.405 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 20 August 2024 10:04:22 -0400 (0:00:00.016) 0:00:02.421 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 20 August 2024 10:04:22 -0400 (0:00:00.013) 0:00:02.434 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.225609", "end": "2024-08-20 10:04:23.305858", "rc": 0, "start": "2024-08-20 10:04:23.080249" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.592) 0:00:03.027 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.021) 0:00:03.049 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.053) 0:00:03.103 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.041) 0:00:03.144 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.048) 0:00:03.193 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003110", "end": "2024-08-20 10:04:23.890936", "rc": 0, "start": "2024-08-20 10:04:23.887826" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.399) 0:00:03.593 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.016) 0:00:03.609 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.016) 0:00:03.626 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:04:23 -0400 (0:00:00.028) 0:00:03.654 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:04:24 -0400 (0:00:00.020) 0:00:03.674 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:04:24 -0400 (0:00:00.018) 0:00:03.693 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:24 -0400 (0:00:00.028) 0:00:03.722 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:24 -0400 (0:00:00.024) 0:00:03.747 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003136", "end": "2024-08-20 10:04:24.412480", "rc": 0, "start": "2024-08-20 10:04:24.409344" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:24 -0400 (0:00:00.366) 0:00:04.114 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:24 -0400 (0:00:00.019) 0:00:04.133 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:04:24 -0400 (0:00:00.016) 0:00:04.149 ******** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:04:28 -0400 (0:00:03.597) 0:00:07.746 ******** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.045) 0:00:07.792 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.020) 0:00:07.812 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.021) 0:00:07.834 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.021) 0:00:07.856 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.033) 0:00:07.889 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.038) 0:00:07.927 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.040) 0:00:07.968 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.081) 0:00:08.050 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.027) 0:00:08.077 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003155", "end": "2024-08-20 10:04:28.757105", "rc": 0, "start": "2024-08-20 10:04:28.753950" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.401) 0:00:08.479 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.027) 0:00:08.506 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.062) 0:00:08.569 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.039) 0:00:08.609 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:04:28 -0400 (0:00:00.029) 0:00:08.638 ******** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.342) 0:00:08.981 ******** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.024) 0:00:09.005 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.040) 0:00:09.046 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.020) 0:00:09.066 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.019) 0:00:09.086 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.039) 0:00:09.126 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.053) 0:00:09.179 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003162", "end": "2024-08-20 10:04:29.943046", "rc": 0, "start": "2024-08-20 10:04:29.939884" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:29 -0400 (0:00:00.468) 0:00:09.647 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:30 -0400 (0:00:00.019) 0:00:09.667 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:04:30 -0400 (0:00:00.023) 0:00:09.690 ******** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:04:33 -0400 (0:00:03.181) 0:00:12.872 ******** ok: [managed_node3] => (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.012446", "end": "2024-08-20 10:04:33.537578", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-20 10:04:33.525132" } ok: [managed_node3] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003691", "end": "2024-08-20 10:04:33.902331", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-20 10:04:33.898640" } ok: [managed_node3] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003880", "end": "2024-08-20 10:04:34.226856", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-20 10:04:34.222976" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:04:34 -0400 (0:00:01.068) 0:00:13.940 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021048", "end": "2024-08-20 10:04:34.626104", "rc": 0, "start": "2024-08-20 10:04:34.605056" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.396) 0:00:14.337 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.021) 0:00:14.359 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.021) 0:00:14.381 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.023) 0:00:14.404 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.022) 0:00:14.427 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.020) 0:00:14.447 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.045) 0:00:14.492 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:34 -0400 (0:00:00.030) 0:00:14.523 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003164", "end": "2024-08-20 10:04:35.267347", "rc": 0, "start": "2024-08-20 10:04:35.264183" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.447) 0:00:14.971 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.019) 0:00:14.990 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.019) 0:00:15.010 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.028) 0:00:15.038 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.016) 0:00:15.055 ******** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724162673.5288906, "block_size": 4096, "blocks": 0, "ctime": 1724162673.5288906, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29878, "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": 1724162673.5288906, "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.368) 0:00:15.423 ******** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.045) 0:00:15.469 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.090) 0:00:15.559 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.024) 0:00:15.584 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.021) 0:00:15.606 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:35 -0400 (0:00:00.031) 0:00:15.637 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:36 -0400 (0:00:00.041) 0:00:15.679 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003143", "end": "2024-08-20 10:04:36.322914", "rc": 0, "start": "2024-08-20 10:04:36.319771" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:36 -0400 (0:00:00.357) 0:00:16.036 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:36 -0400 (0:00:00.025) 0:00:16.062 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:04:36 -0400 (0:00:00.025) 0:00:16.087 ******** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:04:39 -0400 (0:00:03.163) 0:00:19.251 ******** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:04:39 -0400 (0:00:00.023) 0:00:19.275 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:04:39 -0400 (0:00:00.013) 0:00:19.288 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008581", "end": "2024-08-20 10:04:39.924845", "rc": 0, "start": "2024-08-20 10:04:39.916264" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:04:39 -0400 (0:00:00.342) 0:00:19.630 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:04:39 -0400 (0:00:00.014) 0:00:19.645 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.014) 0:00:19.659 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.013) 0:00:19.673 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.013) 0:00:19.687 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.033) 0:00:19.720 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.016) 0:00:19.736 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003130", "end": "2024-08-20 10:04:40.367794", "rc": 0, "start": "2024-08-20 10:04:40.364664" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.333) 0:00:20.070 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.016) 0:00:20.087 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.020) 0:00:20.108 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.038) 0:00:20.146 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.016) 0:00:20.163 ******** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.342) 0:00:20.506 ******** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.019) 0:00:20.525 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.021) 0:00:20.547 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.017) 0:00:20.564 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:40 -0400 (0:00:00.018) 0:00:20.582 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003165", "end": "2024-08-20 10:04:41.211198", "rc": 0, "start": "2024-08-20 10:04:41.208033" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.334) 0:00:20.916 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.016) 0:00:20.933 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.016) 0:00:20.950 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.023) 0:00:20.973 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.014) 0:00:20.988 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.015) 0:00:21.004 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.024) 0:00:21.029 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.025) 0:00:21.055 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003189", "end": "2024-08-20 10:04:41.683313", "rc": 0, "start": "2024-08-20 10:04:41.680124" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.338) 0:00:21.393 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.024) 0:00:21.417 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:04:41 -0400 (0:00:00.026) 0:00:21.444 ******** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:04:44 -0400 (0:00:03.033) 0:00:24.478 ******** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.024) 0:00:24.502 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.014) 0:00:24.516 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.014) 0:00:24.530 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.017) 0:00:24.548 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.016) 0:00:24.564 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.023) 0:00:24.588 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.021) 0:00:24.609 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:44 -0400 (0:00:00.035) 0:00:24.645 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.028) 0:00:24.673 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003125", "end": "2024-08-20 10:04:45.300580", "rc": 0, "start": "2024-08-20 10:04:45.297455" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.334) 0:00:25.008 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.027) 0:00:25.035 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.025) 0:00:25.061 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.036) 0:00:25.097 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.026) 0:00:25.123 ******** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.379) 0:00:25.503 ******** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.021) 0:00:25.524 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.053) 0:00:25.578 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.019) 0:00:25.598 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.020) 0:00:25.619 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:45 -0400 (0:00:00.033) 0:00:25.652 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:46 -0400 (0:00:00.028) 0:00:25.681 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003116", "end": "2024-08-20 10:04:46.350159", "rc": 0, "start": "2024-08-20 10:04:46.347043" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:46 -0400 (0:00:00.378) 0:00:26.059 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:46 -0400 (0:00:00.030) 0:00:26.089 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:04:46 -0400 (0:00:00.027) 0:00:26.117 ******** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:04:49 -0400 (0:00:03.160) 0:00:29.277 ******** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:04:49 -0400 (0:00:00.046) 0:00:29.323 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:04:49 -0400 (0:00:00.025) 0:00:29.349 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:04:49 -0400 (0:00:00.030) 0:00:29.380 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010439", "end": "2024-08-20 10:04:50.211027", "rc": 0, "start": "2024-08-20 10:04:50.200588" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.549) 0:00:29.929 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.022) 0:00:29.951 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.021) 0:00:29.972 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.014) 0:00:29.987 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.030) 0:00:30.017 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.023) 0:00:30.041 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2024-08-20 10:04:50.687568", "rc": 0, "start": "2024-08-20 10:04:50.684321" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.356) 0:00:30.397 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.035) 0:00:30.433 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.025) 0:00:30.458 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.030) 0:00:30.489 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:04:50 -0400 (0:00:00.021) 0:00:30.511 ******** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724162690.2084897, "block_size": 4096, "blocks": 0, "ctime": 1724162690.2084897, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30201, "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": 1724162690.2084897, "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.336) 0:00:30.847 ******** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.018) 0:00:30.866 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.053) 0:00:30.919 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.022) 0:00:30.942 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.019) 0:00:30.962 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.031) 0:00:30.993 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.026) 0:00:31.020 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003112", "end": "2024-08-20 10:04:51.670796", "rc": 0, "start": "2024-08-20 10:04:51.667684" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.353) 0:00:31.373 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.077) 0:00:31.450 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:04:51 -0400 (0:00:00.035) 0:00:31.485 ******** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:04:55 -0400 (0:00:03.217) 0:00:34.702 ******** skipping: [managed_node3] => (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_node3] => (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_node3] => (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_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.025) 0:00:34.728 ******** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.015) 0:00:34.744 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.017) 0:00:34.761 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.021) 0:00:34.783 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011377", "end": "2024-08-20 10:04:55.461569", "rc": 0, "start": "2024-08-20 10:04:55.450192" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.382) 0:00:35.165 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.015) 0:00:35.180 ******** skipping: [managed_node3] => { "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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.013) 0:00:35.194 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.032) 0:00:35.226 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.017) 0:00:35.244 ******** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003119", "end": "2024-08-20 10:04:55.932974", "rc": 0, "start": "2024-08-20 10:04:55.929855" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:04:55 -0400 (0:00:00.391) 0:00:35.635 ******** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:04:56 -0400 (0:00:00.023) 0:00:35.659 ******** ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 20 August 2024 10:04:56 -0400 (0:00:00.018) 0:00:35.677 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:04:56 -0400 (0:00:00.037) 0:00:35.715 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:04:56 -0400 (0:00:00.017) 0:00:35.733 ******** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:04:56 -0400 (0:00:00.363) 0:00:36.097 ******** ok: [managed_node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node3 : ok=120 changed=0 unreachable=0 failed=0 skipped=54 rescued=0 ignored=0 Tuesday 20 August 2024 10:04:56 -0400 (0:00:00.047) 0:00:36.144 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.60s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.22s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.18s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.16s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.16s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.25s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.07s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.59s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Create dummy interface dummy1298 ---------------------------------------- 0.55s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Create EPEL 8 ----------------------------------------------------------- 0.50s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Check if system is ostree ----------------------------------------------- 0.49s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.47s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.45s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.40s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.38s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Get stat for interface dummy1298 ---------------------------------------- 0.38s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3