[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.2] 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/tmp.UdGeogwTz0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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/tmp.UdGeogwTz0/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/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Tuesday 30 July 2024 13:41:27 -0400 (0:00:00.025) 0:00:00.025 ********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Tuesday 30 July 2024 13:41:29 -0400 (0:00:02.245) 0:00:02.270 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 30 July 2024 13:41:29 -0400 (0:00:00.019) 0:00:02.290 ********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.550) 0:00:02.841 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.466) 0:00:03.308 ********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.022) 0:00:03.330 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.016) 0:00:03.347 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.027) 0:00:03.375 ********** skipping: [managed_node1] => { "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/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.013) 0:00:03.389 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.016) 0:00:03.406 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.014) 0:00:03.420 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.013) 0:00:03.434 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.013) 0:00:03.447 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.019) 0:00:03.467 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.017) 0:00:03.485 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:30 -0400 (0:00:00.015) 0:00:03.501 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003583", "end": "2024-07-30 13:41:31.276562", "rc": 0, "start": "2024-07-30 13:41:31.272979" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.464) 0:00:03.966 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.016) 0:00:03.982 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.018) 0:00:04.000 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.024) 0:00:04.025 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.013) 0:00:04.038 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.012) 0:00:04.051 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.023) 0:00:04.075 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.018) 0:00:04.093 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003555", "end": "2024-07-30 13:41:31.790546", "rc": 0, "start": "2024-07-30 13:41:31.786991" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.388) 0:00:04.481 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.016) 0:00:04.498 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:41:31 -0400 (0:00:00.016) 0:00:04.514 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.820) 0:00:05.335 ********** skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.022) 0:00:05.357 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.014) 0:00:05.372 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.016) 0:00:05.388 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.014) 0:00:05.402 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.013) 0:00:05.416 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.014) 0:00:05.430 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.016) 0:00:05.447 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.021) 0:00:05.468 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:32 -0400 (0:00:00.016) 0:00:05.484 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003728", "end": "2024-07-30 13:41:33.188470", "rc": 0, "start": "2024-07-30 13:41:33.184742" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.394) 0:00:05.879 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.020) 0:00:05.899 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.019) 0:00:05.918 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.022) 0:00:05.941 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.017) 0:00:05.958 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.383) 0:00:06.341 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.017) 0:00:06.359 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.027) 0:00:06.386 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.015) 0:00:06.402 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.013) 0:00:06.415 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.019) 0:00:06.434 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:33 -0400 (0:00:00.017) 0:00:06.452 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003498", "end": "2024-07-30 13:41:34.151048", "rc": 0, "start": "2024-07-30 13:41:34.147550" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:34 -0400 (0:00:00.391) 0:00:06.844 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:34 -0400 (0:00:00.016) 0:00:06.860 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:41:34 -0400 (0:00:00.017) 0:00:06.878 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:41:34 -0400 (0:00:00.719) 0:00:07.598 ********** ok: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298" ], "delta": "0:00:00.006655", "end": "2024-07-30 13:41:35.301921", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-07-30 13:41:35.295266" } ok: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004492", "end": "2024-07-30 13:41:35.726990", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-07-30 13:41:35.722498" } ok: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004157", "end": "2024-07-30 13:41:36.099021", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-07-30 13:41:36.094864" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:41:36 -0400 (0:00:01.192) 0:00:08.791 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.022766", "end": "2024-07-30 13:41:36.508628", "rc": 0, "start": "2024-07-30 13:41:36.485862" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.408) 0:00:09.200 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.014) 0:00:09.214 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.014) 0:00:09.229 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.014) 0:00:09.243 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.014) 0:00:09.257 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.013) 0:00:09.270 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.028) 0:00:09.299 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:36 -0400 (0:00:00.016) 0:00:09.315 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003500", "end": "2024-07-30 13:41:37.014222", "rc": 0, "start": "2024-07-30 13:41:37.010722" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.389) 0:00:09.705 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.016) 0:00:09.722 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.015) 0:00:09.738 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.030) 0:00:09.768 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.017) 0:00:09.785 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722361295.2991433, "block_size": 4096, "blocks": 0, "ctime": 1722361295.2991433, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38035, "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": 1722361295.2991433, "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/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.387) 0:00:10.173 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.017) 0:00:10.190 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.033) 0:00:10.224 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.015) 0:00:10.239 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.013) 0:00:10.252 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.019) 0:00:10.271 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:37 -0400 (0:00:00.016) 0:00:10.288 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003539", "end": "2024-07-30 13:41:37.984853", "rc": 0, "start": "2024-07-30 13:41:37.981314" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:38 -0400 (0:00:00.385) 0:00:10.674 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:38 -0400 (0:00:00.016) 0:00:10.691 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:41:38 -0400 (0:00:00.016) 0:00:10.707 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:41:38 -0400 (0:00:00.718) 0:00:11.426 ********** skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:41:38 -0400 (0:00:00.028) 0:00:11.454 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:41:38 -0400 (0:00:00.014) 0:00:11.469 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009882", "end": "2024-07-30 13:41:39.182117", "rc": 0, "start": "2024-07-30 13:41:39.172235" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.417) 0:00:11.886 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.015) 0:00:11.902 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.016) 0:00:11.919 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.015) 0:00:11.934 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.014) 0:00:11.948 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.033) 0:00:11.982 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.017) 0:00:12.000 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003569", "end": "2024-07-30 13:41:39.698388", "rc": 0, "start": "2024-07-30 13:41:39.694819" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.386) 0:00:12.386 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.017) 0:00:12.404 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.016) 0:00:12.420 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.032) 0:00:12.453 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:41:39 -0400 (0:00:00.020) 0:00:12.474 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.388) 0:00:12.862 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.020) 0:00:12.882 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.021) 0:00:12.904 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.017) 0:00:12.922 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.019) 0:00:12.941 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003530", "end": "2024-07-30 13:41:40.645240", "rc": 0, "start": "2024-07-30 13:41:40.641710" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.395) 0:00:13.336 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.017) 0:00:13.354 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.018) 0:00:13.373 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.023) 0:00:13.396 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.013) 0:00:13.410 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.015) 0:00:13.426 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.019) 0:00:13.445 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:40 -0400 (0:00:00.017) 0:00:13.463 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003620", "end": "2024-07-30 13:41:41.163816", "rc": 0, "start": "2024-07-30 13:41:41.160196" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:41 -0400 (0:00:00.391) 0:00:13.854 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:41 -0400 (0:00:00.017) 0:00:13.872 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:41:41 -0400 (0:00:00.017) 0:00:13.889 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:41:41 -0400 (0:00:00.731) 0:00:14.620 ********** skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.023) 0:00:14.644 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.015) 0:00:14.660 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.015) 0:00:14.675 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.016) 0:00:14.692 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.014) 0:00:14.706 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.014) 0:00:14.721 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.014) 0:00:14.736 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.024) 0:00:14.760 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.017) 0:00:14.777 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-07-30 13:41:42.477079", "rc": 0, "start": "2024-07-30 13:41:42.473526" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.390) 0:00:15.167 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.022) 0:00:15.190 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.017) 0:00:15.207 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.023) 0:00:15.231 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.017) 0:00:15.249 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:41:42 -0400 (0:00:00.385) 0:00:15.634 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.019) 0:00:15.654 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.029) 0:00:15.684 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.014) 0:00:15.698 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.013) 0:00:15.711 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.019) 0:00:15.731 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.017) 0:00:15.748 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003560", "end": "2024-07-30 13:41:43.447701", "rc": 0, "start": "2024-07-30 13:41:43.444141" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.387) 0:00:16.136 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.017) 0:00:16.154 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:41:43 -0400 (0:00:00.019) 0:00:16.173 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.714) 0:00:16.888 ********** skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.025) 0:00:16.913 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.015) 0:00:16.929 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.015) 0:00:16.945 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006091", "end": "2024-07-30 13:41:44.651533", "rc": 0, "start": "2024-07-30 13:41:44.645442" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.410) 0:00:17.356 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.014) 0:00:17.370 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.016) 0:00:17.387 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.014) 0:00:17.401 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.026) 0:00:17.427 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:44 -0400 (0:00:00.019) 0:00:17.446 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-07-30 13:41:45.143323", "rc": 0, "start": "2024-07-30 13:41:45.139863" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.387) 0:00:17.834 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.016) 0:00:17.851 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.017) 0:00:17.868 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.026) 0:00:17.895 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.018) 0:00:17.913 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722361304.6489944, "block_size": 4096, "blocks": 0, "ctime": 1722361304.6489944, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38238, "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": 1722361304.6489944, "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/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.445) 0:00:18.358 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.018) 0:00:18.377 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.033) 0:00:18.410 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.014) 0:00:18.425 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.013) 0:00:18.438 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.022) 0:00:18.461 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:45 -0400 (0:00:00.017) 0:00:18.478 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2024-07-30 13:41:46.175901", "rc": 0, "start": "2024-07-30 13:41:46.172408" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:46 -0400 (0:00:00.387) 0:00:18.866 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:46 -0400 (0:00:00.017) 0:00:18.884 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 13:41:46 -0400 (0:00:00.018) 0:00:18.902 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 13:41:46 -0400 (0:00:00.726) 0:00:19.629 ********** skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.024) 0:00:19.654 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.015) 0:00:19.670 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.015) 0:00:19.685 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.017) 0:00:19.702 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008305", "end": "2024-07-30 13:41:47.408737", "rc": 0, "start": "2024-07-30 13:41:47.400432" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.397) 0:00:20.099 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.015) 0:00:20.115 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.014) 0:00:20.129 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.034) 0:00:20.163 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.017) 0:00:20.181 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003540", "end": "2024-07-30 13:41:47.882236", "rc": 0, "start": "2024-07-30 13:41:47.878696" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.389) 0:00:20.571 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.017) 0:00:20.588 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 30 July 2024 13:41:47 -0400 (0:00:00.016) 0:00:20.605 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:41:48 -0400 (0:00:00.033) 0:00:20.638 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:41:48 -0400 (0:00:00.017) 0:00:20.656 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:41:48 -0400 (0:00:00.384) 0:00:21.040 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Tuesday 30 July 2024 13:41:48 -0400 (0:00:00.027) 0:00:21.067 ********** =============================================================================== Gathering Facts --------------------------------------------------------- 2.25s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.19s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.82s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.73s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.73s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.55s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.47s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.46s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.45s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.42s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.41s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Set up veth as managed by NetworkManager -------------------------------- 0.41s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.40s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3