[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.17.3] 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-7Tc executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Tuesday 20 August 2024 10:00:38 -0400 (0:00:00.038) 0:00:00.038 ******** [WARNING]: Platform linux on host managed_node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Tuesday 20 August 2024 10:00:39 -0400 (0:00:01.295) 0:00:01.334 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 20 August 2024 10:00:39 -0400 (0:00:00.019) 0:00:01.354 ******** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.455) 0:00:01.809 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.436) 0:00:02.246 ******** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.032) 0:00:02.278 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.018) 0:00:02.297 ******** included: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.088) 0:00:02.385 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.023) 0:00:02.409 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.020) 0:00:02.429 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.021) 0:00:02.451 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.019) 0:00:02.470 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.019) 0:00:02.490 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.034) 0:00:02.524 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.027) 0:00:02.551 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.025) 0:00:02.576 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003148", "end": "2024-08-20 10:00:41.326634", "rc": 0, "start": "2024-08-20 10:00:41.323486" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.486) 0:00:03.062 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.029) 0:00:03.092 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.022) 0:00:03.114 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.042) 0:00:03.157 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.018) 0:00:03.175 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.020) 0:00:03.195 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.030) 0:00:03.226 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.025) 0:00:03.251 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003253", "end": "2024-08-20 10:00:41.854457", "rc": 0, "start": "2024-08-20 10:00:41.851204" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.339) 0:00:03.591 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.029) 0:00:03.621 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.020) 0:00:03.642 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:00:43 -0400 (0:00:01.336) 0:00:04.979 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.022) 0:00:05.001 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.013) 0:00:05.015 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.013) 0:00:05.028 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.013) 0:00:05.041 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.013) 0:00:05.054 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.016) 0:00:05.071 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.012) 0:00:05.083 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.033) 0:00:05.117 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.024) 0:00:05.141 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003067", "end": "2024-08-20 10:00:43.770461", "rc": 0, "start": "2024-08-20 10:00:43.767394" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.362) 0:00:05.504 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.044) 0:00:05.548 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.025) 0:00:05.574 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.040) 0:00:05.614 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:00:43 -0400 (0:00:00.029) 0:00:05.644 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.362) 0:00:06.006 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.031) 0:00:06.038 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.067) 0:00:06.105 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.019) 0:00:06.126 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.019) 0:00:06.146 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.032) 0:00:06.178 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.028) 0:00:06.207 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002947", "end": "2024-08-20 10:00:44.863926", "rc": 0, "start": "2024-08-20 10:00:44.860979" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.407) 0:00:06.614 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:44 -0400 (0:00:00.041) 0:00:06.656 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:00:45 -0400 (0:00:00.040) 0:00:06.696 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:00:46 -0400 (0:00:01.304) 0:00:08.001 ******** 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.008281", "end": "2024-08-20 10:00:46.599145", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-20 10:00:46.590864" } 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.003269", "end": "2024-08-20 10:00:46.923746", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-20 10:00:46.920477" } 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.005902", "end": "2024-08-20 10:00:47.237188", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-20 10:00:47.231286" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.963) 0:00:08.965 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.018235", "end": "2024-08-20 10:00:47.561506", "rc": 0, "start": "2024-08-20 10:00:47.543271" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.325) 0:00:09.290 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.014) 0:00:09.304 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.013) 0:00:09.318 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.016) 0:00:09.335 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.019) 0:00:09.354 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.012) 0:00:09.366 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.047) 0:00:09.414 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.025) 0:00:09.440 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003141", "end": "2024-08-20 10:00:48.061830", "rc": 0, "start": "2024-08-20 10:00:48.058689" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.356) 0:00:09.797 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.024) 0:00:09.822 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.023) 0:00:09.845 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.046) 0:00:09.892 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.026) 0:00:09.918 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162446.5944076, "block_size": 4096, "blocks": 0, "ctime": 1724162446.5944076, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29987, "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": 1724162446.5944076, "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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.337) 0:00:10.256 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.026) 0:00:10.282 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.066) 0:00:10.349 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.021) 0:00:10.371 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.021) 0:00:10.392 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.034) 0:00:10.427 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.026) 0:00:10.454 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2024-08-20 10:00:49.060094", "rc": 0, "start": "2024-08-20 10:00:49.056922" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:49 -0400 (0:00:00.339) 0:00:10.793 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:49 -0400 (0:00:00.024) 0:00:10.818 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:00:49 -0400 (0:00:00.025) 0:00:10.843 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:00:50 -0400 (0:00:01.206) 0:00:12.050 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.025) 0:00:12.076 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.019) 0:00:12.096 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.012978", "end": "2024-08-20 10:00:50.689444", "rc": 0, "start": "2024-08-20 10:00:50.676466" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.332) 0:00:12.428 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.016) 0:00:12.445 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.016) 0:00:12.462 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.019) 0:00:12.481 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.019) 0:00:12.500 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.085) 0:00:12.586 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.026) 0:00:12.613 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003138", "end": "2024-08-20 10:00:51.276744", "rc": 0, "start": "2024-08-20 10:00:51.273606" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.412) 0:00:13.026 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.031) 0:00:13.057 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.032) 0:00:13.089 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.070) 0:00:13.160 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.028) 0:00:13.188 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.351) 0:00:13.540 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.030) 0:00:13.571 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.057) 0:00:13.628 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.029) 0:00:13.657 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.030) 0:00:13.688 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003177", "end": "2024-08-20 10:00:52.305590", "rc": 0, "start": "2024-08-20 10:00:52.302413" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.353) 0:00:14.041 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.025) 0:00:14.067 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.027) 0:00:14.095 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.039) 0:00:14.134 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.019) 0:00:14.154 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.022) 0:00:14.176 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.030) 0:00:14.207 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.026) 0:00:14.233 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2024-08-20 10:00:52.872169", "rc": 0, "start": "2024-08-20 10:00:52.869018" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.375) 0:00:14.609 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.022) 0:00:14.631 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:00:52 -0400 (0:00:00.021) 0:00:14.652 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:00:54 -0400 (0:00:01.163) 0:00:15.815 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.023) 0:00:15.839 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.014) 0:00:15.853 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.013) 0:00:15.867 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.015) 0:00:15.882 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.019) 0:00:15.902 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.021) 0:00:15.923 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.015) 0:00:15.939 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.035) 0:00:15.975 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.026) 0:00:16.001 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003091", "end": "2024-08-20 10:00:54.643346", "rc": 0, "start": "2024-08-20 10:00:54.640255" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.368) 0:00:16.370 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.018) 0:00:16.388 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.016) 0:00:16.404 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.022) 0:00:16.426 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.016) 0:00:16.443 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.324) 0:00:16.767 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.017) 0:00:16.784 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.028) 0:00:16.813 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.014) 0:00:16.827 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.014) 0:00:16.841 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.021) 0:00:16.863 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.027) 0:00:16.890 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003127", "end": "2024-08-20 10:00:55.540790", "rc": 0, "start": "2024-08-20 10:00:55.537663" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.384) 0:00:17.274 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.026) 0:00:17.301 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.025) 0:00:17.326 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:00:56 -0400 (0:00:01.262) 0:00:18.589 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:00:56 -0400 (0:00:00.024) 0:00:18.613 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:00:56 -0400 (0:00:00.016) 0:00:18.630 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:00:56 -0400 (0:00:00.016) 0:00:18.646 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012420", "end": "2024-08-20 10:00:57.260226", "rc": 0, "start": "2024-08-20 10:00:57.247806" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.350) 0:00:18.997 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.018) 0:00:19.016 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.014) 0:00:19.030 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.020) 0:00:19.051 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.046) 0:00:19.097 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.020) 0:00:19.118 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003291", "end": "2024-08-20 10:00:57.697132", "rc": 0, "start": "2024-08-20 10:00:57.693841" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.309) 0:00:19.427 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.018) 0:00:19.445 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.022) 0:00:19.468 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.046) 0:00:19.514 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.026) 0:00:19.541 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162457.257751, "block_size": 4096, "blocks": 0, "ctime": 1724162457.257751, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30317, "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": 1724162457.257751, "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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.359) 0:00:19.901 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.023) 0:00:19.925 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.038) 0:00:19.964 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.019) 0:00:19.983 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.013) 0:00:19.997 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.028) 0:00:20.025 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.022) 0:00:20.048 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2024-08-20 10:00:58.657978", "rc": 0, "start": "2024-08-20 10:00:58.654747" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.345) 0:00:20.393 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.098) 0:00:20.492 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.024) 0:00:20.516 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:01:00 -0400 (0:00:01.184) 0:00:21.701 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.024) 0:00:21.726 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.015) 0:00:21.741 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.015) 0:00:21.756 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.015) 0:00:21.771 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.023407", "end": "2024-08-20 10:01:00.376067", "rc": 0, "start": "2024-08-20 10:01:00.352660" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.342) 0:00:22.114 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.023) 0:00:22.137 ******** 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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.021) 0:00:22.158 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.074) 0:00:22.233 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.031) 0:00:22.265 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003030", "end": "2024-08-20 10:01:00.873472", "rc": 0, "start": "2024-08-20 10:01:00.870442" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.336) 0:00:22.601 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.025) 0:00:22.627 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.016) 0:00:22.643 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:01:01 -0400 (0:00:00.042) 0:00:22.686 ******** included: /tmp/collections-7Tc/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-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:01:01 -0400 (0:00:00.021) 0:00:22.708 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:01:01 -0400 (0:00:00.332) 0:00:23.040 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node2 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Tuesday 20 August 2024 10:01:01 -0400 (0:00:00.045) 0:00:23.086 ******** =============================================================================== Install iproute --------------------------------------------------------- 1.34s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.30s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Install iproute --------------------------------------------------------- 1.26s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.21s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.18s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.16s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 0.96s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gather current interface info ------------------------------------------- 0.49s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.46s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.44s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.38s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.38s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.37s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.36s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.36s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-7Tc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3