[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-2XB 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/collections-2XB/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-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Thursday 15 August 2024 09:04:55 -0400 (0:00:00.037) 0:00:00.037 ******* [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/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Thursday 15 August 2024 09:04:56 -0400 (0:00:01.296) 0:00:01.334 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 09:04:56 -0400 (0:00:00.031) 0:00:01.366 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.542) 0:00:01.909 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.429) 0:00:02.339 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.023) 0:00:02.362 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.017) 0:00:02.380 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.061) 0:00:02.441 ******* 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/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.033) 0:00:02.475 ******* 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/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.036) 0:00:02.514 ******* 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/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.019) 0:00:02.533 ******* 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/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.012) 0:00:02.546 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.018) 0:00:02.564 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.019) 0:00:02.584 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.019) 0:00:02.603 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:04:57 -0400 (0:00:00.014) 0:00:02.618 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003526", "end": "2024-08-15 09:04:58.107814", "rc": 0, "start": "2024-08-15 09:04:58.104288" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.419) 0:00:03.037 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.015) 0:00:03.053 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.014) 0:00:03.067 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.023) 0:00:03.090 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.011) 0:00:03.102 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.011) 0:00:03.114 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.017) 0:00:03.132 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.014) 0:00:03.147 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003549", "end": "2024-08-15 09:04:58.575555", "rc": 0, "start": "2024-08-15 09:04:58.572006" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.368) 0:00:03.516 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.035) 0:00:03.551 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:04:58 -0400 (0:00:00.038) 0:00:03.590 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.913) 0:00:04.503 ******* skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.021) 0:00:04.525 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.013) 0:00:04.538 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.012) 0:00:04.551 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.012) 0:00:04.563 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.012) 0:00:04.576 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.013) 0:00:04.589 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.020) 0:00:04.610 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.029) 0:00:04.639 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:04:59 -0400 (0:00:00.014) 0:00:04.654 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003533", "end": "2024-08-15 09:05:00.061713", "rc": 0, "start": "2024-08-15 09:05:00.058180" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.337) 0:00:04.991 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.019) 0:00:05.011 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.015) 0:00:05.026 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.021) 0:00:05.048 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.015) 0:00:05.064 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.341) 0:00:05.405 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.016) 0:00:05.422 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.029) 0:00:05.452 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.017) 0:00:05.469 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.012) 0:00:05.481 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.021) 0:00:05.503 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.019) 0:00:05.523 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2024-08-15 09:05:00.934023", "rc": 0, "start": "2024-08-15 09:05:00.930626" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:00 -0400 (0:00:00.340) 0:00:05.863 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.017) 0:00:05.880 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.014) 0:00:05.895 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:01 -0400 (0:00:00.813) 0:00:06.708 ******* 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.006175", "end": "2024-08-15 09:05:02.162215", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-15 09:05:02.156040" } 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.003898", "end": "2024-08-15 09:05:02.534517", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-15 09:05:02.530619" } 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.004078", "end": "2024-08-15 09:05:02.889102", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-15 09:05:02.885024" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:02 -0400 (0:00:01.110) 0:00:07.819 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019622", "end": "2024-08-15 09:05:03.248977", "rc": 0, "start": "2024-08-15 09:05:03.229355" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.369) 0:00:08.189 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.022) 0:00:08.211 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.022) 0:00:08.233 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.023) 0:00:08.256 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.020) 0:00:08.277 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.020) 0:00:08.297 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.035) 0:00:08.332 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.020) 0:00:08.353 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003541", "end": "2024-08-15 09:05:03.763591", "rc": 0, "start": "2024-08-15 09:05:03.760050" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.349) 0:00:08.702 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.027) 0:00:08.730 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.027) 0:00:08.757 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.052) 0:00:08.810 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:03 -0400 (0:00:00.022) 0:00:08.832 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723727102.1598039, "block_size": 4096, "blocks": 0, "ctime": 1723727102.1598039, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27687, "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": 1723727102.1598039, "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-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.348) 0:00:09.181 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.023) 0:00:09.205 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.036) 0:00:09.241 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.017) 0:00:09.259 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.014) 0:00:09.273 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.021) 0:00:09.295 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.019) 0:00:09.314 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003431", "end": "2024-08-15 09:05:04.729396", "rc": 0, "start": "2024-08-15 09:05:04.725965" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.344) 0:00:09.659 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.018) 0:00:09.677 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:04 -0400 (0:00:00.019) 0:00:09.697 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:05 -0400 (0:00:00.735) 0:00:10.432 ******* skipping: [managed_node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:05 -0400 (0:00:00.039) 0:00:10.472 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:05 -0400 (0:00:00.029) 0:00:10.501 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.007899", "end": "2024-08-15 09:05:05.953027", "rc": 0, "start": "2024-08-15 09:05:05.945128" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.406) 0:00:10.908 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.015) 0:00:10.924 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.016) 0:00:10.940 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.017) 0:00:10.958 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.014) 0:00:10.972 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.032) 0:00:11.004 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.016) 0:00:11.020 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003462", "end": "2024-08-15 09:05:06.429915", "rc": 0, "start": "2024-08-15 09:05:06.426453" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.338) 0:00:11.359 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.016) 0:00:11.375 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.015) 0:00:11.391 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.030) 0:00:11.421 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.017) 0:00:11.439 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.333) 0:00:11.773 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.018) 0:00:11.791 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed_node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.020) 0:00:11.812 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.016) 0:00:11.828 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:06 -0400 (0:00:00.015) 0:00:11.843 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-08-15 09:05:07.254625", "rc": 0, "start": "2024-08-15 09:05:07.250982" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.340) 0:00:12.184 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.016) 0:00:12.201 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.015) 0:00:12.216 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.021) 0:00:12.238 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.012) 0:00:12.250 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.012) 0:00:12.262 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.018) 0:00:12.281 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.015) 0:00:12.297 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003569", "end": "2024-08-15 09:05:07.704962", "rc": 0, "start": "2024-08-15 09:05:07.701393" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.344) 0:00:12.641 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.017) 0:00:12.659 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:07 -0400 (0:00:00.021) 0:00:12.680 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.750) 0:00:13.430 ******* skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.034) 0:00:13.465 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.021) 0:00:13.487 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.020) 0:00:13.508 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.021) 0:00:13.529 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.023) 0:00:13.552 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.020) 0:00:13.573 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.020) 0:00:13.593 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.031) 0:00:13.625 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:08 -0400 (0:00:00.023) 0:00:13.648 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003358", "end": "2024-08-15 09:05:09.079877", "rc": 0, "start": "2024-08-15 09:05:09.076519" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.378) 0:00:14.027 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.033) 0:00:14.060 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.023) 0:00:14.084 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.036) 0:00:14.120 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.026) 0:00:14.146 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.336) 0:00:14.483 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.017) 0:00:14.500 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.027) 0:00:14.528 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.012) 0:00:14.541 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.012) 0:00:14.553 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.018) 0:00:14.571 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:09 -0400 (0:00:00.019) 0:00:14.591 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-08-15 09:05:10.017998", "rc": 0, "start": "2024-08-15 09:05:10.014532" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.356) 0:00:14.948 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.020) 0:00:14.968 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.019) 0:00:14.988 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.738) 0:00:15.726 ******* skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.023) 0:00:15.750 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.013) 0:00:15.764 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:10 -0400 (0:00:00.014) 0:00:15.778 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.128080", "end": "2024-08-15 09:05:11.319059", "rc": 0, "start": "2024-08-15 09:05:11.190979" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.483) 0:00:16.262 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.017) 0:00:16.279 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.017) 0:00:16.297 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.020) 0:00:16.317 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.042) 0:00:16.360 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.026) 0:00:16.387 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2024-08-15 09:05:11.818428", "rc": 0, "start": "2024-08-15 09:05:11.814949" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.364) 0:00:16.752 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.019) 0:00:16.771 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.015) 0:00:16.787 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.030) 0:00:16.817 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:11 -0400 (0:00:00.024) 0:00:16.841 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723727111.3175995, "block_size": 4096, "blocks": 0, "ctime": 1723727111.3175995, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27930, "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": 1723727111.3175995, "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-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.386) 0:00:17.228 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.017) 0:00:17.245 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.032) 0:00:17.278 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.013) 0:00:17.291 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.012) 0:00:17.304 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.018) 0:00:17.322 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.016) 0:00:17.339 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2024-08-15 09:05:12.746417", "rc": 0, "start": "2024-08-15 09:05:12.743020" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.336) 0:00:17.675 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.016) 0:00:17.691 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 09:05:12 -0400 (0:00:00.016) 0:00:17.707 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.710) 0:00:18.418 ******* skipping: [managed_node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.037) 0:00:18.456 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.021) 0:00:18.478 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.021) 0:00:18.499 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.016) 0:00:18.515 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006259", "end": "2024-08-15 09:05:13.938919", "rc": 0, "start": "2024-08-15 09:05:13.932660" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 09:05:13 -0400 (0:00:00.354) 0:00:18.869 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.014) 0:00:18.884 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.012) 0:00:18.897 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.030) 0:00:18.927 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.016) 0:00:18.943 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003437", "end": "2024-08-15 09:05:14.350829", "rc": 0, "start": "2024-08-15 09:05:14.347392" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.344) 0:00:19.288 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.026) 0:00:19.315 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.025) 0:00:19.340 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.051) 0:00:19.392 ******* included: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.026) 0:00:19.419 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.371) 0:00:19.791 ******* 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 Thursday 15 August 2024 09:05:14 -0400 (0:00:00.042) 0:00:19.833 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.11s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.91s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.81s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.75s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.74s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.74s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/collections-2XB/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.54s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.48s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Check if system is ostree ----------------------------------------------- 0.43s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.41s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Get stat for interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.38s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.37s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.37s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.37s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-2XB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3