[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/collections-QDf executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Friday 09 August 2024 03:41:10 -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.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Friday 09 August 2024 03:41:11 -0400 (0:00:01.059) 0:00:01.085 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 09 August 2024 03:41:11 -0400 (0:00:00.018) 0:00:01.103 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 09 August 2024 03:41:11 -0400 (0:00:00.031) 0:00:01.135 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 09 August 2024 03:41:12 -0400 (0:00:00.406) 0:00:01.541 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 09 August 2024 03:41:12 -0400 (0:00:00.020) 0:00:01.562 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 09 August 2024 03:41:12 -0400 (0:00:00.012) 0:00:01.575 ********* included: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 09 August 2024 03:41:12 -0400 (0:00:00.039) 0:00:01.614 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Friday 09 August 2024 03:41:12 -0400 (0:00:00.012) 0:00:01.627 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Friday 09 August 2024 03:41:12 -0400 (0:00:00.011) 0:00:01.638 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Friday 09 August 2024 03:41:12 -0400 (0:00:00.012) 0:00:01.651 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Friday 09 August 2024 03:41:12 -0400 (0:00:00.011) 0:00:01.662 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Friday 09 August 2024 03:41:12 -0400 (0:00:00.012) 0:00:01.674 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 09 August 2024 03:41:12 -0400 (0:00:00.018) 0:00:01.692 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:12 -0400 (0:00:00.015) 0:00:01.708 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:12 -0400 (0:00:00.014) 0:00:01.723 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-08-09 03:41:12.537137", "rc": 0, "start": "2024-08-09 03:41:12.533792" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:12 -0400 (0:00:00.401) 0:00:02.124 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:12 -0400 (0:00:00.015) 0:00:02.140 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 09 August 2024 03:41:12 -0400 (0:00:00.014) 0:00:02.154 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:41:12 -0400 (0:00:00.024) 0:00:02.178 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:41:12 -0400 (0:00:00.011) 0:00:02.190 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:41:12 -0400 (0:00:00.011) 0:00:02.201 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:12 -0400 (0:00:00.016) 0:00:02.218 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:12 -0400 (0:00:00.014) 0:00:02.233 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003281", "end": "2024-08-09 03:41:12.966449", "rc": 0, "start": "2024-08-09 03:41:12.963168" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:13 -0400 (0:00:00.318) 0:00:02.552 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:13 -0400 (0:00:00.018) 0:00:02.571 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:41:13 -0400 (0:00:00.015) 0:00:02.586 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:41:14 -0400 (0:00:01.536) 0:00:04.123 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:41:14 -0400 (0:00:00.022) 0:00:04.145 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:41:14 -0400 (0:00:00.013) 0:00:04.158 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:41:14 -0400 (0:00:00.013) 0:00:04.171 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:41:14 -0400 (0:00:00.013) 0:00:04.185 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:41:14 -0400 (0:00:00.013) 0:00:04.198 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:41:14 -0400 (0:00:00.013) 0:00:04.211 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 09 August 2024 03:41:14 -0400 (0:00:00.013) 0:00:04.224 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:14 -0400 (0:00:00.020) 0:00:04.245 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:14 -0400 (0:00:00.015) 0:00:04.261 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-08-09 03:41:14.990321", "rc": 0, "start": "2024-08-09 03:41:14.986976" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:15 -0400 (0:00:00.316) 0:00:04.577 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:15 -0400 (0:00:00.015) 0:00:04.593 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 09 August 2024 03:41:15 -0400 (0:00:00.014) 0:00:04.608 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:41:15 -0400 (0:00:00.021) 0:00:04.629 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:41:15 -0400 (0:00:00.017) 0:00:04.647 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:41:15 -0400 (0:00:00.318) 0:00:04.965 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 09 August 2024 03:41:15 -0400 (0:00:00.017) 0:00:04.982 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:41:15 -0400 (0:00:00.027) 0:00:05.010 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:41:15 -0400 (0:00:00.012) 0:00:05.022 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:41:15 -0400 (0:00:00.011) 0:00:05.033 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:15 -0400 (0:00:00.017) 0:00:05.051 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:15 -0400 (0:00:00.016) 0:00:05.067 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003450", "end": "2024-08-09 03:41:15.799138", "rc": 0, "start": "2024-08-09 03:41:15.795688" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:15 -0400 (0:00:00.318) 0:00:05.386 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:15 -0400 (0:00:00.016) 0:00:05.402 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:41:15 -0400 (0:00:00.014) 0:00:05.417 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:41:17 -0400 (0:00:01.389) 0:00:06.807 ********* 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.008930", "end": "2024-08-09 03:41:17.556355", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-09 03:41:17.547425" } 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.003673", "end": "2024-08-09 03:41:17.890982", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-09 03:41:17.887309" } 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.006359", "end": "2024-08-09 03:41:18.202893", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-09 03:41:18.196534" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:41:18 -0400 (0:00:00.984) 0:00:07.791 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020100", "end": "2024-08-09 03:41:18.549328", "rc": 0, "start": "2024-08-09 03:41:18.529228" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:41:18 -0400 (0:00:00.346) 0:00:08.138 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:41:18 -0400 (0:00:00.013) 0:00:08.151 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:41:18 -0400 (0:00:00.013) 0:00:08.164 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:41:18 -0400 (0:00:00.014) 0:00:08.179 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:41:18 -0400 (0:00:00.014) 0:00:08.194 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 09 August 2024 03:41:18 -0400 (0:00:00.012) 0:00:08.207 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:18 -0400 (0:00:00.025) 0:00:08.232 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:18 -0400 (0:00:00.015) 0:00:08.247 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003742", "end": "2024-08-09 03:41:18.982336", "rc": 0, "start": "2024-08-09 03:41:18.978594" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:19 -0400 (0:00:00.322) 0:00:08.570 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:19 -0400 (0:00:00.016) 0:00:08.586 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 09 August 2024 03:41:19 -0400 (0:00:00.015) 0:00:08.602 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 09 August 2024 03:41:19 -0400 (0:00:00.025) 0:00:08.627 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:41:19 -0400 (0:00:00.014) 0:00:08.642 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723189277.55117, "block_size": 4096, "blocks": 0, "ctime": 1723189277.55117, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42527, "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": 1723189277.55117, "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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 09 August 2024 03:41:19 -0400 (0:00:00.323) 0:00:08.966 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 09 August 2024 03:41:19 -0400 (0:00:00.017) 0:00:08.984 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:41:19 -0400 (0:00:00.034) 0:00:09.018 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:41:19 -0400 (0:00:00.013) 0:00:09.032 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:41:19 -0400 (0:00:00.012) 0:00:09.045 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:19 -0400 (0:00:00.018) 0:00:09.063 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:19 -0400 (0:00:00.016) 0:00:09.079 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003314", "end": "2024-08-09 03:41:19.811889", "rc": 0, "start": "2024-08-09 03:41:19.808575" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:19 -0400 (0:00:00.319) 0:00:09.399 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:19 -0400 (0:00:00.016) 0:00:09.416 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:41:19 -0400 (0:00:00.014) 0:00:09.430 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:41:21 -0400 (0:00:01.323) 0:00:10.754 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:41:21 -0400 (0:00:00.023) 0:00:10.777 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:41:21 -0400 (0:00:00.013) 0:00:10.790 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.014918", "end": "2024-08-09 03:41:21.540436", "rc": 0, "start": "2024-08-09 03:41:21.525518" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:41:21 -0400 (0:00:00.343) 0:00:11.134 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:41:21 -0400 (0:00:00.013) 0:00:11.147 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:41:21 -0400 (0:00:00.013) 0:00:11.160 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:41:21 -0400 (0:00:00.012) 0:00:11.173 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 09 August 2024 03:41:21 -0400 (0:00:00.012) 0:00:11.186 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:21 -0400 (0:00:00.031) 0:00:11.217 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:21 -0400 (0:00:00.015) 0:00:11.233 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003509", "end": "2024-08-09 03:41:21.961856", "rc": 0, "start": "2024-08-09 03:41:21.958347" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:22 -0400 (0:00:00.315) 0:00:11.549 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:11.565 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:11.581 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.031) 0:00:11.613 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:11.629 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:41:22 -0400 (0:00:00.313) 0:00:11.942 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:11.958 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.020) 0:00:11.979 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:11.995 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:12.012 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2024-08-09 03:41:22.746940", "rc": 0, "start": "2024-08-09 03:41:22.743632" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:22 -0400 (0:00:00.321) 0:00:12.334 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:12.350 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 09 August 2024 03:41:22 -0400 (0:00:00.016) 0:00:12.366 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.023) 0:00:12.389 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:41:22 -0400 (0:00:00.013) 0:00:12.403 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:41:22 -0400 (0:00:00.012) 0:00:12.415 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.017) 0:00:12.433 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:22 -0400 (0:00:00.015) 0:00:12.449 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2024-08-09 03:41:23.187186", "rc": 0, "start": "2024-08-09 03:41:23.183939" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:23 -0400 (0:00:00.327) 0:00:12.776 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:23 -0400 (0:00:00.015) 0:00:12.791 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:41:23 -0400 (0:00:00.015) 0:00:12.807 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:41:24 -0400 (0:00:01.324) 0:00:14.131 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:41:24 -0400 (0:00:00.022) 0:00:14.154 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:41:24 -0400 (0:00:00.013) 0:00:14.167 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:41:24 -0400 (0:00:00.012) 0:00:14.180 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:41:24 -0400 (0:00:00.014) 0:00:14.194 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:41:24 -0400 (0:00:00.013) 0:00:14.207 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:41:24 -0400 (0:00:00.013) 0:00:14.220 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 09 August 2024 03:41:24 -0400 (0:00:00.011) 0:00:14.232 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:24 -0400 (0:00:00.019) 0:00:14.252 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:24 -0400 (0:00:00.015) 0:00:14.267 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003379", "end": "2024-08-09 03:41:24.997324", "rc": 0, "start": "2024-08-09 03:41:24.993945" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:25 -0400 (0:00:00.317) 0:00:14.585 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:25 -0400 (0:00:00.016) 0:00:14.602 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 09 August 2024 03:41:25 -0400 (0:00:00.014) 0:00:14.616 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:41:25 -0400 (0:00:00.020) 0:00:14.637 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:41:25 -0400 (0:00:00.015) 0:00:14.652 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:41:25 -0400 (0:00:00.312) 0:00:14.965 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 09 August 2024 03:41:25 -0400 (0:00:00.016) 0:00:14.981 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:41:25 -0400 (0:00:00.027) 0:00:15.009 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:41:25 -0400 (0:00:00.013) 0:00:15.022 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:41:25 -0400 (0:00:00.011) 0:00:15.034 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:25 -0400 (0:00:00.017) 0:00:15.052 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:25 -0400 (0:00:00.015) 0:00:15.067 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003266", "end": "2024-08-09 03:41:25.794488", "rc": 0, "start": "2024-08-09 03:41:25.791222" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:25 -0400 (0:00:00.314) 0:00:15.382 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:25 -0400 (0:00:00.017) 0:00:15.399 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:41:25 -0400 (0:00:00.015) 0:00:15.414 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:41:27 -0400 (0:00:01.424) 0:00:16.839 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:41:27 -0400 (0:00:00.023) 0:00:16.862 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:41:27 -0400 (0:00:00.013) 0:00:16.875 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:41:27 -0400 (0:00:00.013) 0:00:16.889 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006431", "end": "2024-08-09 03:41:27.625408", "rc": 0, "start": "2024-08-09 03:41:27.618977" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:41:27 -0400 (0:00:00.332) 0:00:17.221 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:41:27 -0400 (0:00:00.014) 0:00:17.236 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:41:27 -0400 (0:00:00.013) 0:00:17.250 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 09 August 2024 03:41:27 -0400 (0:00:00.013) 0:00:17.263 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:27 -0400 (0:00:00.025) 0:00:17.288 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:27 -0400 (0:00:00.017) 0:00:17.306 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003307", "end": "2024-08-09 03:41:28.040747", "rc": 0, "start": "2024-08-09 03:41:28.037440" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:28 -0400 (0:00:00.321) 0:00:17.628 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:28 -0400 (0:00:00.017) 0:00:17.645 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 09 August 2024 03:41:28 -0400 (0:00:00.015) 0:00:17.661 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 09 August 2024 03:41:28 -0400 (0:00:00.026) 0:00:17.688 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:41:28 -0400 (0:00:00.016) 0:00:17.705 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723189287.6221902, "block_size": 4096, "blocks": 0, "ctime": 1723189287.6221902, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42820, "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": 1723189287.6221902, "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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 09 August 2024 03:41:28 -0400 (0:00:00.320) 0:00:18.026 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 09 August 2024 03:41:28 -0400 (0:00:00.017) 0:00:18.043 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 09 August 2024 03:41:28 -0400 (0:00:00.032) 0:00:18.076 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 09 August 2024 03:41:28 -0400 (0:00:00.013) 0:00:18.089 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 09 August 2024 03:41:28 -0400 (0:00:00.012) 0:00:18.102 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:28 -0400 (0:00:00.018) 0:00:18.120 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:28 -0400 (0:00:00.017) 0:00:18.137 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-08-09 03:41:28.868740", "rc": 0, "start": "2024-08-09 03:41:28.865503" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:28 -0400 (0:00:00.318) 0:00:18.455 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:28 -0400 (0:00:00.065) 0:00:18.521 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 09 August 2024 03:41:28 -0400 (0:00:00.016) 0:00:18.538 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 09 August 2024 03:41:30 -0400 (0:00:01.360) 0:00:19.898 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 09 August 2024 03:41:30 -0400 (0:00:00.023) 0:00:19.922 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 09 August 2024 03:41:30 -0400 (0:00:00.013) 0:00:19.935 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 09 August 2024 03:41:30 -0400 (0:00:00.013) 0:00:19.949 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 09 August 2024 03:41:30 -0400 (0:00:00.013) 0:00:19.963 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010156", "end": "2024-08-09 03:41:30.704485", "rc": 0, "start": "2024-08-09 03:41:30.694329" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 09 August 2024 03:41:30 -0400 (0:00:00.332) 0:00:20.296 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 09 August 2024 03:41:30 -0400 (0:00:00.014) 0:00:20.310 ********* 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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 09 August 2024 03:41:30 -0400 (0:00:00.012) 0:00:20.323 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:41:30 -0400 (0:00:00.030) 0:00:20.354 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:41:30 -0400 (0:00:00.015) 0:00:20.370 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003270", "end": "2024-08-09 03:41:31.097542", "rc": 0, "start": "2024-08-09 03:41:31.094272" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:41:31 -0400 (0:00:00.314) 0:00:20.684 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:41:31 -0400 (0:00:00.016) 0:00:20.701 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 09 August 2024 03:41:31 -0400 (0:00:00.014) 0:00:20.716 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:41:31 -0400 (0:00:00.032) 0:00:20.748 ********* included: /tmp/collections-QDf/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-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:41:31 -0400 (0:00:00.016) 0:00:20.765 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:41:31 -0400 (0:00:00.318) 0:00:21.083 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=118 changed=0 unreachable=0 failed=0 skipped=56 rescued=0 ignored=0 Friday 09 August 2024 03:41:31 -0400 (0:00:00.024) 0:00:21.108 ********* =============================================================================== Install iproute --------------------------------------------------------- 1.54s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.42s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.39s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.36s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.32s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.32s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.06s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.98s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Check if system is ostree ----------------------------------------------- 0.41s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.35s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.34s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.33s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Create dummy interface dummy1298 ---------------------------------------- 0.33s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.33s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.32s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.32s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.32s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.32s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.32s /tmp/collections-QDf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3